feat(admin-dashboard): no receipt hint links to list scope

This commit is contained in:
萝卜
2026-03-16 15:05:43 +08:00
parent 90794f9b5e
commit b531f489fc
2 changed files with 70 additions and 0 deletions

View File

@@ -312,6 +312,7 @@
$hasReceiptEvidence = (data_get($po->meta, 'payment_summary.total_amount') !== null)
|| (data_get($po->meta, 'payment_receipts.0.amount') !== null);
$fixReceiptUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'add-payment-receipt');
$noReceiptListUrl = \App\Support\BackUrl::withBack('/admin/platform-orders?payment_status=paid&receipt_status=none', $selfWithoutBack);
$syncErrMsg = (string) (data_get($po->meta, 'subscription_activation_error.message') ?? '');
$bmpaErrMsg = (string) (data_get($po->meta, 'batch_mark_paid_and_activate_error.message') ?? '');
@@ -330,6 +331,8 @@
<span class="row-warn-prefix">无回执</span>
<span class="muted"></span>
<a class="link" href="{!! $fixReceiptUrl !!}">去补回执</a>
<span class="muted"></span>
<a class="link" href="{!! $noReceiptListUrl !!}">进入集合</a>
</div>
@endif
</td>