平台订单:对账差额卡片显示当前容差并优化提示文案

This commit is contained in:
萝卜
2026-03-13 16:07:06 +00:00
parent 975f2bae0a
commit 87a78d379d

View File

@@ -265,8 +265,9 @@
<a class="link" href="{{ request()->fullUrlWithQuery(['reconcile_mismatch' => '1', 'page' => null]) }}">{{ $summaryStats['reconcile_mismatch_orders'] ?? 0 }}</a>
</div>
@php $tol = (float) config('saasshop.amounts.tolerance', 0.01); @endphp
<div class="muted muted-xs">当前容差:¥{{ number_format($tol, 2) }}</div>
@if(abs($delta) >= $tol)
<div class="muted text-danger mt-6">提示:差额 0,可能存在回执金额与订单金额不一致的订单。</div>
<div class="muted text-danger mt-6">提示:差额超过容差,可能存在回执金额与订单金额不一致的订单。</div>
@endif
</div>
<div class="card">