feat(admin-dashboard): show renewal missing subscription hint in recent orders

This commit is contained in:
萝卜
2026-03-16 14:05:16 +08:00
parent e9cd697662
commit 1fc180fca4
2 changed files with 73 additions and 0 deletions

View File

@@ -368,6 +368,16 @@
<a class="link" href="{!! $refundInconsistentUrl !!}">进入集合</a>
</div>
@endif
@if((string) $po->order_type === 'renewal' && empty($po->site_subscription_id))
@php
$renewalMissingSubscriptionUrl = \App\Support\BackUrl::withBack('/admin/platform-orders?renewal_missing_subscription=1', $selfWithoutBack);
@endphp
<div class="muted text-danger muted-xs row-warn" data-role="recent-order-renewal-missing-subscription-hint">
<span class="row-warn-prefix">续费缺订阅</span>
<span class="muted"></span>
<a class="link" href="{!! $renewalMissingSubscriptionUrl !!}">进入集合</a>
</div>
@endif
</td>
</tr>
@empty