refactor(subscriptions): use BackUrl::withBack for platform order links on show
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user