@extends('temple.layouts.app') @section('title', 'Receipt Issued Successfully') @section('content')
The devotee vazhipad offering has been recorded in the devaswom register with an official voucher.
{{-- Voucher Summary Box --}}| Receipt ID | #RC-{{ str_pad($receipts->id, 6, '0', STR_PAD_LEFT) }} |
|---|---|
| Devotee Name | {{ $receipts->devotee_name }} |
| Birth Star (Nakshatram) | {{ $receipts->nakshatram }} |
| Receipt Date | {{ $receipts->receipts_date ? \Carbon\Carbon::parse($receipts->receipts_date)->format('d F Y, l') : 'N/A' }} |
| Offering(s) Booked | {{ $receipts->items->map(fn($i) => ($i->vazhipad->name ?? 'Offering') . ' (x' . $i->quantity . ')')->implode(', ') }} |
| Offering Booked | {{ $receipts->vazhipad->name }} |
| Total Dakshina Paid | ₹{{ number_format($receipts->total_amount ?? $receipts->amount ?? 0, 2) }} |