projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88bb73
)
ExcelToJson.php
author
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 04:12:17 +0000
(12:12 +0800)
committer
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 04:12:17 +0000
(12:12 +0800)
ExcelToJson.php
patch
|
blob
|
history
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
93acb93
..
eced0e6
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-102,13
+102,7
@@
class Pman_Core_ExcelToJson extends Pman_Roo
$this->jerr("error occur on getting item with reference " . $r['ITEM CODE']);
}
- $ret[] = array(
- 'itemsite_item_id' => $itemsite->itemsite_item_id,
- 'itemsite_id' => $itemsite->pid(),
- 'itemsite_item_id_item_number' => $r['ITEM CODE'],
- 'itemsite_item_id_item_descrip1' => $r['DESCRIPTION'],
- 'itemsite_qty' => $r['QUANTITY']
- );
+ $ret[] = $itemsite->toArray();
}
$this->jok($ret);