Browse Source

Problème synchronisation Tiller

refactoring
Guillaume Bourgeois 1 year ago
parent
commit
1ce5e4a6b1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/helpers/Tiller.php

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

@@ -101,8 +101,8 @@ class Tiller
$amountTotalOrderOpendistrib = (int)round(
$orderOpendistrib->getAmountWithTax(Order::AMOUNT_TOTAL) * 100
);
if ($amountTotalOrderOpendistrib == (int)$orderTiller->currentPayedAmount
|| $amountTotalOrderOpendistrib == (int)$orderTiller->currentBill) {
if ($amountTotalOrderOpendistrib >= (int)$orderTiller->currentPayedAmount
|| $amountTotalOrderOpendistrib >= (int)$orderTiller->currentBill) {
$ordersOpendistribSynchro[$orderOpendistrib->id] = true;
}
}

Loading…
Cancel
Save