@foreach ($orders as $order) @endforeach @if (count($orders) == 0) @endif
Order Id Order Date Customer Sub Total Grand Total Status Actions
#{{ $order->order_no ?? ('PM-ORD-' . date('Y', strtotime($order->created_at)) . '-' . str_pad($order->id, 6, '0', STR_PAD_LEFT)) }} {{ $order->date }} {{ $order->first_name . ' ' . $order->last_name }} {{ $order->total_amount }} {{ $order->grand_total }} {{ ucwords($order->status) }} view
No Orders found