Expiry governance: nudge renewal requires subscription context
This commit is contained in:
@@ -106,6 +106,8 @@
|
||||
if ($isExpiryView) {
|
||||
$q = [
|
||||
'order_type' => 'renewal',
|
||||
// 续费单必须绑定订阅:集合入口也应尽可能引导到订阅维度续费(批量另行建设)。
|
||||
'require_subscription' => '1',
|
||||
];
|
||||
if ((int) ($filters['merchant_id'] ?? 0) > 0) {
|
||||
$q['merchant_id'] = (int) $filters['merchant_id'];
|
||||
@@ -118,6 +120,7 @@
|
||||
@endphp
|
||||
@if($isExpiryView)
|
||||
<a class="btn btn-sm" href="{!! $renewalCtaUrl !!}">创建续费订单(当前集合)</a>
|
||||
<span class="muted muted-xs">(建议:进入后按订阅维度续费)</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user