统一对账差额阈值使用 amounts.tolerance 配置
This commit is contained in:
@@ -227,7 +227,8 @@
|
||||
<div class="muted muted-xs">对账不一致订单:
|
||||
<a class="link" href="{{ request()->fullUrlWithQuery(['reconcile_mismatch' => '1', 'page' => null]) }}">{{ $summaryStats['reconcile_mismatch_orders'] ?? 0 }}</a>
|
||||
</div>
|
||||
@if(abs($delta) >= 0.01)
|
||||
@php $tol = (float) config('saasshop.amounts.tolerance', 0.01); @endphp
|
||||
@if(abs($delta) >= $tol)
|
||||
<div class="muted text-danger mt-6">提示:差额非 0,可能存在回执金额与订单金额不一致的订单。</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user