Browse Source

Corrctif statuts de commande

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
7f0cdb9b78
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      domain/Order/Order/OrderManager.php

+ 3
- 1
domain/Order/Order/OrderManager.php View File

$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(

Loading…
Cancel
Save