Issue #389 fixed

This commit is contained in:
jitendra 2019-01-18 16:49:03 +05:30
parent fbbf1fe99f
commit b418b27de3
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ class ShipmentRepository extends Repository
$orderItem = $this->orderItem->find($itemId);
if ($qty > $orderItem->qty_to_ship)
$qty = $orderItem->qty_to_ship;
$totalQty += $qty;
$shipmentItem = $this->shipmentItem->create([