admin: 平台订单列表回执/对账行级入口统一直达追加支付回执面板
This commit is contained in:
@@ -1699,7 +1699,8 @@
|
||||
$rowDelta = (float) ($order->reconciliation_delta_row ?? 0);
|
||||
// 统一口径:按分取整判断是否对账不一致,避免浮点误差导致 0.01 边界不稳定
|
||||
$isReconcileMismatchRow = (bool) $order->isReconcileMismatch();
|
||||
$reconcileShowUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'payment-receipts');
|
||||
// 最短治理路径:对账差额本质是“回执证据不一致”,列表行点击应直达可执行动作面板。
|
||||
$reconcileShowUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-payment-receipt');
|
||||
@endphp
|
||||
@if($isReconcileMismatchRow)
|
||||
@php $reconcileFixUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-payment-receipt'); @endphp
|
||||
@@ -1721,7 +1722,7 @@
|
||||
@endphp
|
||||
@if($receiptCount > 0)
|
||||
@php
|
||||
$receiptCountShowUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'payment-receipts');
|
||||
$receiptCountShowUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-payment-receipt');
|
||||
@endphp
|
||||
<a href="{!! $receiptCountShowUrl !!}" class="muted">{{ $receiptCount }}</a>
|
||||
@else
|
||||
|
||||
Reference in New Issue
Block a user