refactor(site-subscriptions): hide renew tool link in attach mode
This commit is contained in:
@@ -261,7 +261,7 @@
|
||||
}
|
||||
$createOrderFromSubIndexUrl = \App\Support\BackUrl::withBack('/admin/platform-orders/create?' . \Illuminate\Support\Arr::query($q), $selfWithoutBack);
|
||||
@endphp
|
||||
@if(!($isExpiryView ?? false))
|
||||
@if(!($isExpiryView ?? false) && $attachOrderId <= 0)
|
||||
<a class="btn btn-sm" href="{!! $createOrderFromSubIndexUrl !!}">续费下单(先选订阅)</a>
|
||||
@endif
|
||||
</div>
|
||||
@@ -271,6 +271,9 @@
|
||||
@if(($isExpiryView ?? false))
|
||||
<span class="muted">(已处于到期集合视图:请优先使用上方「创建续费订单(当前集合)」入口)</span>
|
||||
@endif
|
||||
@if($attachOrderId > 0)
|
||||
<span class="muted">(当前为“绑定订阅到订单”模式:请在列表行内直接点击「绑定到订单」)</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user