Generated: {{ now()->format('d-m-Y H:i') }}
| # | Order ID | Booked At | Customer Name | Phone | Delivery Date | Sold By | Total (₹) | Advance (₹) | Balance (₹) | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $row->order_id }} | {{ $row->created_at ? \Carbon\Carbon::parse($row->created_at)->format('d/m/Y H:i') : '-' }} | {{ $row->customer_name ?: 'Walk-in' }} | {{ $row->customer_phone ?: '-' }} | {{ $row->delivery_date ? \Carbon\Carbon::parse($row->delivery_date)->format('d/m/Y H:i') : '-' }} | {{ $row->staff_name ?? '-' }} | {{ number_format($row->total, 2) }} | {{ number_format($row->advance_amt, 2) }} | {{ number_format($row->balance_amt, 2) }} | {{ ucfirst($row->status) }} |
| No bulk orders found for this date. | ||||||||||
| Total | {{ number_format($rows->sum('total'), 2) }} | {{ number_format($rows->sum('advance_amt'), 2) }} | {{ number_format($rows->sum('balance_amt'), 2) }} | |||||||