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

$amountPaid, $amountPaid,
$this->getProducerCurrent(), $this->getProducerCurrent(),
$oldUser, $oldUser,
$this->getUserCurrent()
$this->getUserCurrent(),
MeanPayment::CREDIT,
$order
); );
$order = Order::searchOne(['id' => $order->id]); $order = Order::searchOne(['id' => $order->id]);
$orderManager->initOrder($order); $orderManager->initOrder($order);

Loading…
Cancel
Save