Clarify refund safety valve warning mentions tolerance
This commit is contained in:
@@ -694,7 +694,7 @@ class PlatformOrderController extends Controller
|
|||||||
$tolCents = max(1, $tolCents);
|
$tolCents = max(1, $tolCents);
|
||||||
|
|
||||||
if (round($refundTotal * 100) + $tolCents < round($paidAmount * 100)) {
|
if (round($refundTotal * 100) + $tolCents < round($paidAmount * 100)) {
|
||||||
return redirect()->back()->with('warning', '退款总额尚未达到已付金额,无法标记为已退款。请先核对/补齐退款记录。');
|
return redirect()->back()->with('warning', '退款总额尚未达到已付金额(考虑容差),无法标记为已退款。请先核对/补齐退款记录。');
|
||||||
}
|
}
|
||||||
|
|
||||||
$now = now();
|
$now = now();
|
||||||
|
|||||||
Reference in New Issue
Block a user