|
|
@@ -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;
|