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

$amountTotalOrderOpendistrib = (int)round( $amountTotalOrderOpendistrib = (int)round(
$orderOpendistrib->getAmountWithTax(Order::AMOUNT_TOTAL) * 100 $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; $ordersOpendistribSynchro[$orderOpendistrib->id] = true;
} }
} }

Loading…
Cancel
Save