refactor(subscriptions): use BackUrl::withBack for platform order links on show

This commit is contained in:
萝卜
2026-03-14 19:59:26 +00:00
parent 4e29b7ab64
commit 3975a87cb9

View File

@@ -487,7 +487,7 @@
<tr>
<td>{{ $order->id }}</td>
@php
$orderShowUrl = '/admin/platform-orders/' . $order->id . '?' . \Illuminate\Support\Arr::query(['back' => $selfWithoutBack]);
$orderShowUrl = \App\Support\BackUrl::withBack('/admin/platform-orders/' . $order->id, $selfWithoutBack);
@endphp
<td><a href="{!! $orderShowUrl !!}">{{ $order->order_no }}</a></td>
<td>{{ $order->status }}</td>