projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80c8a8b
)
Import/WayBill.php
author
Edward
<edward@roojs.com>
Fri, 24 Jan 2014 05:20:08 +0000
(13:20 +0800)
committer
Edward
<edward@roojs.com>
Fri, 24 Jan 2014 05:20:08 +0000
(13:20 +0800)
Import/WayBill.php
patch
|
blob
|
history
diff --git
a/Import/WayBill.php
b/Import/WayBill.php
index
b086510
..
630b7c1
100644
(file)
--- a/
Import/WayBill.php
+++ b/
Import/WayBill.php
@@
-132,6
+132,19
@@
class Pman_Xtuple_Import_WayBill extends Pman_Roo
$errMsg[] = $row['賣家備註'] . " - no matching qty";
continue;
}
+
+ $old = clone ($shiphead);
+ $shiphead->shiphead_delivery_note = $row['運單號'];
+
+ $shiphead->update($old);
+
+ $this->transObj->lockTables();
+
+ $res = $this->confirm($roo);
+ if (true !== $res) {
+ $roo->jerr($res);
+ }
+
}
if(!empty($errMsg)){