瀏覽代碼

Problème synchronisation Tiller #974

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
4c590ac53f
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      common/helpers/Tiller.php

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

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