@forelse($orders as $order) @empty @endforelse
Order ID Date Total Status Items Action
{{ $order->order_number }} {{ $order->created_at->format('M d, Y') }} ₹{{ number_format($order->total, 2) }} {{ $order->status == 'quotation_sent' ? 'Quotation Received' : ucfirst(str_replace('_', ' ', $order->status)) }} {{ $order->items->count() }} Count View {{ $order->status === 'quotation_sent' ? 'Quotation' : 'Invoice' }}
No orders found.