Browse Source

Processus de commandes

feature/export_comptable
Fab 4 years ago
parent
commit
653ad05823
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Controller/Backend/OrderController.php

+ 1
- 1
ShopBundle/Controller/Backend/OrderController.php View File

@@ -169,7 +169,7 @@ class OrderController extends AdminController

if ($formOrderStatus->isSubmitted() && $formOrderStatus->isValid()) {

if($orderShop = $this->orderUtils->setOrderStatus($formOrderStatus->get('orderStatus')->getData(), $orderShop)){
if($orderShop = $this->orderUtils->changeOrderStatus($formOrderStatus->get('orderStatus')->getData(), $orderShop)){
$this->addFlash('success', 'La commande a bien été modifié.');
}
}else{

Loading…
Cancel
Save