Clarify refund safety valve warning mentions tolerance

This commit is contained in:
萝卜
2026-03-13 16:54:58 +00:00
parent 275236750b
commit 8758e635d9

View File

@@ -694,7 +694,7 @@ class PlatformOrderController extends Controller
$tolCents = max(1, $tolCents);
if (round($refundTotal * 100) + $tolCents < round($paidAmount * 100)) {
return redirect()->back()->with('warning', '退款总额尚未达到已付金额,无法标记为已退款。请先核对/补齐退款记录。');
return redirect()->back()->with('warning', '退款总额尚未达到已付金额(考虑容差),无法标记为已退款。请先核对/补齐退款记录。');
}
$now = now();