|
|
|
|
|
|
|
|
$orderStatus = $this->orderStatusRepository->getOrderStatusByAlias($orderStatusAlias); |
|
|
$orderStatus = $this->orderStatusRepository->getOrderStatusByAlias($orderStatusAlias); |
|
|
|
|
|
|
|
|
$order->setOrderStatus($orderStatus); |
|
|
$order->setOrderStatus($orderStatus); |
|
|
$this->orderBuilder->initDateUpdate($order); |
|
|
|
|
|
|
|
|
if(!$this->orderSolver->isOrderStatusOrdered($order)) { |
|
|
|
|
|
$this->orderBuilder->initDateUpdate($order); |
|
|
|
|
|
} |
|
|
$this->orderBuilder->update($order); |
|
|
$this->orderBuilder->update($order); |
|
|
|
|
|
|
|
|
$this->orderStatusHistoryManager->create( |
|
|
$this->orderStatusHistoryManager->create( |