Browse Source

Merge branch 'develop'

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

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

@@ -97,8 +97,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