|
|
@@ -242,7 +242,7 @@ class OrderController extends AdminController |
|
|
|
if ($formOrderStatus->isSubmitted() && $formOrderStatus->isValid()) { |
|
|
|
$oldStatus = $orderShop->getOrderStatus(); |
|
|
|
|
|
|
|
$orderShop = $this->orderUtils->changeOrderStatus($formOrderStatus->get('orderStatus')->getData(), $orderShop); |
|
|
|
$orderShop = $this->orderUtils->changeOrderStatus($formOrderStatus->get('orderStatus')->getData(), $orderShop, true); |
|
|
|
if ($oldStatus !== $orderShop->getOrderStatus()) { |
|
|
|
$this->utils->addFlash('success', 'success.order.changeStatus'); |
|
|
|
} |