Admin subscriptions: expiring 7d top10 add renewal CTA
This commit is contained in:
@@ -123,7 +123,20 @@
|
||||
$merchantUrl = $buildSelfUrl(['merchant_id' => $mid, 'page' => null]);
|
||||
@endphp
|
||||
<tr>
|
||||
<td><a class="link" href="{!! $merchantUrl !!}">{{ $mname !== '' ? $mname : ('站点#' . $mid) }}</a></td>
|
||||
<td>
|
||||
<a class="link" href="{!! $merchantUrl !!}">{{ $mname !== '' ? $mname : ('站点#' . $mid) }}</a>
|
||||
@php
|
||||
$renewalCtaUrlByMerchant = \App\Support\BackUrl::withBack('/admin/platform-orders/create?' . \Illuminate\Support\Arr::query([
|
||||
'order_type' => 'renewal',
|
||||
'require_subscription' => '1',
|
||||
'merchant_id' => $mid,
|
||||
]), $selfWithoutBack);
|
||||
@endphp
|
||||
<div class="muted muted-xs mt-6">
|
||||
<a class="link" href="{!! $renewalCtaUrlByMerchant !!}">去创建续费订单</a>
|
||||
<span class="muted">(建议:进入后按订阅维度续费)</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{ $cnt }}</td>
|
||||
<td>{{ $minEndsAt !== '' ? $minEndsAt : '-' }}</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user