瀏覽代碼

Crédit : problème utilisateurs avec crédit pas arrondi #869

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

+ 1
- 1
common/models/Order.php 查看文件

@@ -555,7 +555,7 @@ class Order extends ActiveRecordCommon
$creditHistory = new CreditHistory;
$creditHistory->id_user = $idUser;
$creditHistory->id_order = $this->id;
$creditHistory->amount = $amount;
$creditHistory->amount = round($amount, 2);
$creditHistory->type = $type;
$creditHistory->id_producer = $idProducer;
$creditHistory->id_user_action = $idUserAction;

Loading…
取消
儲存