Ver código fonte

Problème synchronisation Tiller

refactoring
Guillaume Bourgeois 1 ano atrás
pai
commit
1ce5e4a6b1
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      common/helpers/Tiller.php

+ 2
- 2
common/helpers/Tiller.php Ver arquivo

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

Carregando…
Cancelar
Salvar