Browse Source

[Backend] Crédit : rembourser client lorsqu'on attribue une commande à un autre client #1151

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
77e92c0d43
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      backend/controllers/OrderController.php

+ 3
- 1
backend/controllers/OrderController.php View File

@@ -1002,7 +1002,9 @@ class OrderController extends BackendController
$amountPaid,
$this->getProducerCurrent(),
$oldUser,
$this->getUserCurrent()
$this->getUserCurrent(),
MeanPayment::CREDIT,
$order
);
$order = Order::searchOne(['id' => $order->id]);
$orderManager->initOrder($order);

Loading…
Cancel
Save