Dashboard scanline: refund none links to refund receipts panel

This commit is contained in:
萝卜
2026-03-18 06:26:54 +08:00
parent 053dd40e3a
commit 58f0ce78dd
2 changed files with 79 additions and 0 deletions

View File

@@ -860,6 +860,7 @@
$scanGoReconcileUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'add-payment-receipt');
$scanGoPaymentReceiptsUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'payment-receipts');
$scanGoRefundUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'add-refund-receipt');
$scanGoRefundReceiptsUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'refund-receipts');
$scanGoSyncFailedUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'sync-failed');
$scanGoBmpaFailedUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'bmpa-failed');
$bmpaSuccessListUrl = $platformOrdersQuickLinks['bmpa_success'] ?? '';
@@ -973,6 +974,8 @@
退款:
@if($refundStatusText !== '-' && $refundStatusText !== '无')
<a class="link" href="{!! $scanGoRefundUrl !!}"><strong>{{ $refundStatusText }}</strong></a>
@elseif($refundStatusText === '无')
<a class="link" href="{!! $scanGoRefundReceiptsUrl !!}"><strong>{{ $refundStatusText }}</strong></a>
@else
<strong>{{ $refundStatusText }}</strong>
@endif