补齐套餐详情页与订阅无回执治理入口测试
This commit is contained in:
@@ -257,6 +257,7 @@
|
||||
</td>
|
||||
<td>
|
||||
@php
|
||||
$showPlanUrl = \App\Support\BackUrl::withBack('/admin/plans/' . $plan->id, $selfWithoutBack);
|
||||
$editPlanUrl = \App\Support\BackUrl::withBack('/admin/plans/' . $plan->id . '/edit', $selfWithoutBack);
|
||||
$createOrderUrl = \App\Support\BackUrl::withBack('/admin/platform-orders/create?' . \Illuminate\Support\Arr::query([
|
||||
'plan_id' => $plan->id,
|
||||
@@ -275,6 +276,7 @@
|
||||
]);
|
||||
@endphp
|
||||
<div class="actions gap-10">
|
||||
<a href="{!! $showPlanUrl !!}" class="btn btn-secondary btn-sm">查看详情</a>
|
||||
<a href="{!! $editPlanUrl !!}" class="btn btn-secondary btn-sm">编辑</a>
|
||||
@if((string) ($plan->status ?? '') === 'active')
|
||||
<a href="{!! $createOrderUrl !!}" class="btn btn-sm">创建订单</a>
|
||||
|
||||
Reference in New Issue
Block a user