Przeglądaj źródła

Merge tag 'hotfix_1271' into develop

hotfix_1271
feature/souke
Guillaume Bourgeois 1 rok temu
rodzic
commit
4308d7f265
2 zmienionych plików z 2 dodań i 1 usunięć
  1. +1
    -1
      common/logic/Order/Order/Service/OrderBuilder.php
  2. +1
    -0
      producer/controllers/OrderController.php

+ 1
- 1
common/logic/Order/Order/Service/OrderBuilder.php Wyświetl plik

@@ -461,7 +461,7 @@ class OrderBuilder extends AbstractBuilder
if (!is_null($synchroTiller)) {
$order->tiller_synchronization = $synchroTiller;
} else {
$amountPaid = $this->orderSolver->getOrderAmount($order, Order::AMOUNT_PAID);
$amountPaid = $this->orderSolver->getOrderAmountPaidByCredit($order);

if ($amountPaid >= 0.01) {
$order->tiller_synchronization = 1;

+ 1
- 0
producer/controllers/OrderController.php Wyświetl plik

@@ -506,6 +506,7 @@ class OrderController extends ProducerBaseController
}
}

$order = $orderManager->findOneOrderById($order->id);
$orderManager->initOrder($order);
$orderManager->updateOrderTillerSynchronization($order);
}

Ładowanie…
Anuluj
Zapisz