shish 1 год назад
Родитель
Сommit
5e3f972361
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      biz-hd/custom/classes/CustomClass.php

+ 2 - 2
biz-hd/custom/classes/CustomClass.php

@@ -196,7 +196,7 @@ class CustomClass extends BaseClass
         $debtAmount = $custom->debtAmount ?? 0.00;
         $remain = bcsub($debtAmount, $amount, 2);
         if ($remain < 0) {
-            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次退款金额:{$amount} 客户ID:{$custom->id} 超出了", '15280215347');
+            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次退款金额:{$amount} 客户ID:{$custom->id} 超出了,编号66379", '15280215347');
             util::fail('操作失败,欠款金额会出现负数');
         }
         $custom->isDebt = $remain <= 0 ? 0 : 1;
@@ -245,7 +245,7 @@ class CustomClass extends BaseClass
         $debtAmount = $custom->debtAmount ?? 0.00;
         $remain = bcsub($debtAmount, $amount, 2);
         if ($remain < 0) {
-            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次结账金额:{$amount} 客户ID:{$custom->id} 超出了", '15280215347');
+            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次结账金额:{$amount} 客户ID:{$custom->id} 超出了,编号788965", '15280215347');
             util::fail('操作失败,结账后欠款金额会出现负数');
         }
         $custom->isDebt = $remain <= 0 ? 0 : 1;