Date: {{ \Carbon\Carbon::parse($date)->format('d F Y') }}
Generated on: {{ now()->format('d M Y, h:i A') }}
| # | Receipt No | Devotee | Vazhipad(s) | Payment Method | Status | Amount (₹) |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $r->id }} | {{ $r->devotee_name ?? '—' }} | {{-- Reads from new (devotees.items) AND old (items) tables --}}{{ $r->vazhipad_names ?: '—' }} | {{ ucfirst($r->payment_method ?? '—') }} | {{ ucfirst($r->payment_status ?? '—') }} | {{ number_format($r->total_amount ?? 0, 2) }} |
| No transactions for this date. | ||||||
| Grand Total | ₹{{ number_format($receipts->sum('total_amount'), 2) }} | |||||