admin: 平台订单列表续费缺订阅时补充行级治理提示入口(去关联订阅)

This commit is contained in:
萝卜
2026-03-18 00:01:18 +08:00
parent 633b9c9cbc
commit 504a2be530
2 changed files with 82 additions and 1 deletions

View File

@@ -1795,9 +1795,10 @@
// 精简视图也要可达的“治理入口”不要只依赖可选列col-optional里的提示
$reconcileFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-payment-receipt');
$refundFixUrlCompact = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-refund-receipt');
$relationFixUrlCompactForBmpa = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'relation-subscription');
@endphp
@if($needReconcileFix || $needRefundFix)
@if($needReconcileFix || $needRefundFix || $blockedByMissingSubscriptionOnRenewal)
<div class="governance-hints row-warn">
@if($needReconcileFix)
<div class="muted text-danger muted-xs governance-hint">
@@ -1813,6 +1814,13 @@
<a class="link" href="{!! $refundFixUrlCompact !!}">去核对退款</a>
</div>
@endif
@if($blockedByMissingSubscriptionOnRenewal)
<div class="muted text-danger muted-xs governance-hint">
<span class="row-warn-prefix">订阅</span>
<span class="muted"></span>
<a class="link" href="{!! $relationFixUrlCompactForBmpa !!}">去关联订阅</a>
</div>
@endif
</div>
@endif