fix #5047
This commit is contained in:
parent
10e7415472
commit
65b0ff0ac1
|
|
@ -158,6 +158,8 @@ class ShipmentRepository extends Repository
|
|||
|
||||
if (isset($orderState)) {
|
||||
$this->orderRepository->updateOrderStatus($order, $orderState);
|
||||
} elseif ($order->hasOpenInvoice()) {
|
||||
$this->orderRepository->updateOrderStatus($order, 'pending_payment');
|
||||
} else {
|
||||
$this->orderRepository->updateOrderStatus($order);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue