Pārlūkot izejas kodu

[Administration] Documents > Factures : gestion des paiements

feature/souke
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
2ed7ee3608
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      backend/controllers/OrderController.php

+ 1
- 1
backend/controllers/OrderController.php Parādīt failu

@@ -914,7 +914,7 @@ class OrderController extends BackendController
$oldIdUser = $order->id_user;
$amountPaid = $orderManager->getOrderAmountWithTax($order, Order::AMOUNT_PAID);
if ($oldIdUser != $idUser && $amountPaid > 0) {
$paymentManager->refundOrder($order, $this->getUserCurrent());
$paymentManager->refundOrderCredit($order, $this->getUserCurrent());
$order = $orderManager->findOneOrderById($idOrder);
$orderManager->initOrder($order);
}

Notiek ielāde…
Atcelt
Saglabāt