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