diff --git a/resources/views/admin/platform_orders/show.blade.php b/resources/views/admin/platform_orders/show.blade.php index 353300b..a6e00c0 100644 --- a/resources/views/admin/platform_orders/show.blade.php +++ b/resources/views/admin/platform_orders/show.blade.php @@ -256,6 +256,9 @@ @php $syncBlockedByGovernance = $order->isReconcileMismatch() || $order->isRefundInconsistent(); + // 安全阀:续费单必须绑定订阅(后端 activateSubscription 也会阻断,这里做前端提示/禁用) + $syncBlockedByMissingSubscriptionOnRenewal = ((string) ($order->order_type ?? '') === 'renewal') + && ((int) ($order->site_subscription_id ?? 0) <= 0); @endphp
- @if($syncBlockedByGovernance) + @if($syncBlockedByGovernance || $syncBlockedByMissingSubscriptionOnRenewal)