| # | Serial No | Date | Customer | Phone | Order ID | Billed In | Billed By | Staff | Payment | Total | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $row->daily_serial_number ?? '-' }} | {{ $row->created_at->format('d-m-Y h:i A') }} | {{ $row->customer_name ?: '-' }} | {{ $row->customer_phone ?: '-' }} | {{ $row->order_id }} | {{ $row->billed_in ? ucwords(str_replace('_', ' ', $row->billed_in)) : '-' }} | {{ $billedBy }} | {{ $row->staff->name ?? '-' }} | {{ ucfirst($row->payment_mode) }} | ₹ {{ number_format($row->total, 2) }} | {{ ucfirst($row->status) }} |
| Total | ₹ {{ number_format($rows->sum('total'), 2) }} | ||||||||||