平台订单列表:回执数/退款数跳详情携带 back+锚点
This commit is contained in:
@@ -956,7 +956,10 @@
|
||||
$receiptCount = $receiptSummaryCount !== null ? (int) $receiptSummaryCount : count($receipts);
|
||||
@endphp
|
||||
@if($receiptCount > 0)
|
||||
<a href="/admin/platform-orders/{{ $order->id }}" class="muted">{{ $receiptCount }}</a>
|
||||
@php
|
||||
$receiptCountShowUrl = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $selfWithoutBack]) . '#payment-receipts';
|
||||
@endphp
|
||||
<a href="{!! $receiptCountShowUrl !!}" class="muted">{{ $receiptCount }}</a>
|
||||
@else
|
||||
<span class="muted">0</span>
|
||||
@endif
|
||||
@@ -968,7 +971,10 @@
|
||||
$refundCount = $refundSummaryCount !== null ? (int) $refundSummaryCount : count($refunds);
|
||||
@endphp
|
||||
@if($refundCount > 0)
|
||||
<a href="/admin/platform-orders/{{ $order->id }}" class="muted">{{ $refundCount }}</a>
|
||||
@php
|
||||
$refundCountShowUrl = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $selfWithoutBack]) . '#refund-receipts';
|
||||
@endphp
|
||||
<a href="{!! $refundCountShowUrl !!}" class="muted">{{ $refundCount }}</a>
|
||||
@else
|
||||
<span class="muted">0</span>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user