|
|
@@ -42,7 +42,7 @@ class WaybillController extends Controller
|
|
|
$warehouseWeight=0;
|
|
|
$warehouseWeightOther=0;
|
|
|
foreach ($receiveInputting['order_list'] as $orderInputting){
|
|
|
- if ($orderInputting['Qtyordered_each'])$warehouseWeight += $orderInputting['Qtyordered_each'];
|
|
|
+ if ($orderInputting['Cubic'])$warehouseWeight += $orderInputting['Cubic'];
|
|
|
if ($orderInputting['GrossWeight'])$warehouseWeightOther +=$orderInputting['GrossWeight'];
|
|
|
if (!$orderInputting['GrossWeight'] && $orderInputting['NetWeight']) $warehouseWeightOther +=$orderInputting['NetWeight'];
|
|
|
$orderInputting['OrderNo']=$receiveInputting['OrderNo'];
|