Platform orders index: add clear subscription lock link

This commit is contained in:
萝卜
2026-03-14 23:39:55 +00:00
parent e6779b2b13
commit 9153fb9459
2 changed files with 72 additions and 0 deletions

View File

@@ -87,8 +87,17 @@
$selfWithoutBack
);
@endphp
@php
// 清除订阅锁定:保留其它筛选上下文(例如 lead_id/keyword/back但移除 site_subscription_id + page。
$clearSubscriptionUrl = \App\Support\BackUrl::currentPathWithQuery([
'site_subscription_id' => null,
'page' => null,
], $safeBackForLinks);
@endphp
<a class="link" href="{!! $subShowUrl !!}">{{ $currentSubscription->subscription_no }}</a>
<span class="muted">订阅ID{{ $currentSubscription->id }}</span>
<span class="muted"></span>
<a class="muted" href="{!! $clearSubscriptionUrl !!}">取消锁定订阅</a>
</div>
<div class="muted muted-xs">提示本页快捷筛选会保留该订阅ID右上角“新建平台订单”会自动预填订阅ID。</div>