@forelse ($orders as $id => $order)
{{ ++$id }}
|
{{ $order->created_at->format('d-m-y') }}
|
{!! $order->invoice->company->short_name ?? null !!}
|
{{ $order->user->name ?? NULL }}
|
£ {{ $order->grand_total ?? null }}
|
|
|
|
{{-- @if ($order->approval_status != 'canceled' && $order->approval_status != 'decline')
@endif --}}
{{-- @if (!($order->approval_status == 'approved' || $order->payment_status != 'pending')) --}}
{{-- @endif --}}
|
@empty
No orders found |
@endforelse