This commit is contained in:
parent
f8d81e3ae0
commit
00a936bffa
1 changed files with 2 additions and 0 deletions
|
|
@ -742,6 +742,8 @@ class Reception extends CommonObject
|
|||
foreach ($supplierorderdispatch->lines as $dispatch_line) {
|
||||
if (array_key_exists($dispatch_line->fk_product, $qty_received)) {
|
||||
$qty_received[$dispatch_line->fk_product] += $dispatch_line->qty;
|
||||
} else {
|
||||
$qty_received[$dispatch_line->fk_product] = $dispatch_line->qty;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue