浏览代码

[backend] Tiller : correction test synchro

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

正在加载...
取消
保存