Issue #389 fixed
This commit is contained in:
parent
fbbf1fe99f
commit
b418b27de3
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in New Issue