@@ -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; | |||
} | |||
} |