projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7fc3d40
)
ExcelToJson.php
author
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 03:12:14 +0000
(11:12 +0800)
committer
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 03:12:14 +0000
(11:12 +0800)
ExcelToJson.php
patch
|
blob
|
history
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
aee5e28
..
39dffd0
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-42,6
+42,10
@@
class Pman_Core_ExcelToJson extends Pman_Roo
$this->jerr("invalid file");
}
+ $req = array(
+ 'LINE', 'ITEM CODE', 'DESCRIPTION', 'QUANTITY'
+ );
+
$cols[] = false;
$rows = array();
$header = false;