refactor(subscriptions): use BackUrl::withBack for platform order links on show
This commit is contained in:
@@ -487,7 +487,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ $order->id }}</td>
|
<td>{{ $order->id }}</td>
|
||||||
@php
|
@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
|
@endphp
|
||||||
<td><a href="{!! $orderShowUrl !!}">{{ $order->order_no }}</a></td>
|
<td><a href="{!! $orderShowUrl !!}">{{ $order->order_no }}</a></td>
|
||||||
<td>{{ $order->status }}</td>
|
<td>{{ $order->status }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user