Browse Source

[backend] Tiller : correction test synchro

refactoring
Guillaume 4 years ago
parent
commit
a694c52045
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/helpers/Tiller.php

+ 1
- 1
common/helpers/Tiller.php View File

@@ -89,7 +89,7 @@ class Tiller
if(isset($ordersTiller->orders)) {
foreach ($ordersTiller->orders as $orderTiller) {
if ($orderOpendistrib->id == $orderTiller->externalId
&& ($orderOpendistrib->getAmountWithTax(Order::AMOUNT_TOTAL) * 100) == $orderTiller->currentBill) {
&& (int) round($orderOpendistrib->getAmountWithTax(Order::AMOUNT_TOTAL) * 100) == (int) $orderTiller->currentBill) {

$ordersOpendistribSynchro[$orderOpendistrib->id] = true;
}

Loading…
Cancel
Save