瀏覽代碼

Problème synchronisation Tiller

refactoring
Guillaume Bourgeois 1 年之前
父節點
當前提交
1ce5e4a6b1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      common/helpers/Tiller.php

+ 2
- 2
common/helpers/Tiller.php 查看文件

@@ -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…
取消
儲存