重构: 收口治理摘要单值链接组件
This commit is contained in:
@@ -873,7 +873,11 @@
|
||||
<div class="metric-number">¥{{ number_format($delta, 2) }}</div>
|
||||
<div class="muted muted-xs">{{ $summaryStats['reconciliation_delta_note'] ?? '回执总额 - 订单已付总额' }}(当前筛选范围)</div>
|
||||
<div class="muted muted-xs">对账不一致订单:
|
||||
<a data-role="po-summary-link-reconcile-mismatch-orders" class="link" href="{!! $safeFullUrlWithQuery(['reconcile_mismatch' => '1', 'page' => null]) !!}">{{ $summaryStats['reconcile_mismatch_orders'] ?? 0 }}</a>
|
||||
@include('admin.platform_orders._summary_metric_link', [
|
||||
'role' => 'po-summary-link-reconcile-mismatch-orders',
|
||||
'href' => $safeFullUrlWithQuery(['reconcile_mismatch' => '1', 'page' => null]),
|
||||
'label' => $summaryStats['reconcile_mismatch_orders'] ?? 0,
|
||||
])
|
||||
</div>
|
||||
@php $tol = (float) config('saasshop.amounts.tolerance', 0.01); @endphp
|
||||
<div class="muted muted-xs">当前容差:¥{{ number_format($tol, 2) }}</div>
|
||||
@@ -884,7 +888,11 @@
|
||||
<div class="card">
|
||||
<h3>退款不一致订单</h3>
|
||||
<div class="metric-number">
|
||||
<a data-role="po-summary-link-refund-inconsistent-orders" class="link" href="{!! $safeFullUrlWithQuery(['refund_inconsistent' => '1', 'page' => null]) !!}">{{ $summaryStats['refund_inconsistent_orders'] ?? 0 }}</a>
|
||||
@include('admin.platform_orders._summary_metric_link', [
|
||||
'role' => 'po-summary-link-refund-inconsistent-orders',
|
||||
'href' => $safeFullUrlWithQuery(['refund_inconsistent' => '1', 'page' => null]),
|
||||
'label' => $summaryStats['refund_inconsistent_orders'] ?? 0,
|
||||
])
|
||||
</div>
|
||||
@php $refundTol = (float) config('saasshop.amounts.tolerance', 0.01); @endphp
|
||||
<div class="muted muted-xs">口径:状态=refunded 但退款总额 + 容差 < 已付;或状态!=refunded 且退款总额 >= 已付 + 容差</div>
|
||||
|
||||
Reference in New Issue
Block a user