瀏覽代碼

[backend] Tiller : correction test synchro

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

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

@@ -89,7 +89,7 @@ class Tiller
if(isset($ordersTiller->orders)) {
foreach ($ordersTiller->orders as $orderTiller) {
if ($orderOpendistrib->id == $orderTiller->externalId
&& ($orderOpendistrib->getAmountWithTax(Order::AMOUNT_TOTAL) * 100) == $orderTiller->currentBill) {
&& (int) round($orderOpendistrib->getAmountWithTax(Order::AMOUNT_TOTAL) * 100) == (int) $orderTiller->currentBill) {

$ordersOpendistribSynchro[$orderOpendistrib->id] = true;
}

Loading…
取消
儲存