Daily Temple Report

Date: {{ \Carbon\Carbon::parse($date)->format('d F Y') }}

Generated on: {{ now()->format('d M Y, h:i A') }}

Total Receipts
{{ $receipts->count() }}
Total Amount
₹{{ number_format($receipts->sum('total_amount'), 2) }}
Paid
{{ $receipts->where('payment_status', 'paid')->count() }}
Pending
{{ $receipts->where('payment_status', 'pending')->count() }}
@forelse($receipts as $i => $r) {{-- Reads from new (devotees.items) AND old (items) tables --}} @empty @endforelse
# Receipt No Devotee Vazhipad(s) Payment Method Status Amount (₹)
{{ $i + 1 }} {{ $r->id }} {{ $r->devotee_name ?? '—' }}{{ $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) }}