shish 1 år sedan
förälder
incheckning
5e3f972361
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;
         $debtAmount = $custom->debtAmount ?? 0.00;
         $remain = bcsub($debtAmount, $amount, 2);
         $remain = bcsub($debtAmount, $amount, 2);
         if ($remain < 0) {
         if ($remain < 0) {
-            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次退款金额:{$amount} 客户ID:{$custom->id} 超出了", '15280215347');
+            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次退款金额:{$amount} 客户ID:{$custom->id} 超出了,编号66379", '15280215347');
             util::fail('操作失败,欠款金额会出现负数');
             util::fail('操作失败,欠款金额会出现负数');
         }
         }
         $custom->isDebt = $remain <= 0 ? 0 : 1;
         $custom->isDebt = $remain <= 0 ? 0 : 1;
@@ -245,7 +245,7 @@ class CustomClass extends BaseClass
         $debtAmount = $custom->debtAmount ?? 0.00;
         $debtAmount = $custom->debtAmount ?? 0.00;
         $remain = bcsub($debtAmount, $amount, 2);
         $remain = bcsub($debtAmount, $amount, 2);
         if ($remain < 0) {
         if ($remain < 0) {
-            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次结账金额:{$amount} 客户ID:{$custom->id} 超出了", '15280215347');
+            noticeUtil::push("零售客户欠款总金额:{$custom->debtAmount} 本次结账金额:{$amount} 客户ID:{$custom->id} 超出了,编号788965", '15280215347');
             util::fail('操作失败,结账后欠款金额会出现负数');
             util::fail('操作失败,结账后欠款金额会出现负数');
         }
         }
         $custom->isDebt = $remain <= 0 ? 0 : 1;
         $custom->isDebt = $remain <= 0 ? 0 : 1;