@extends('temple.layouts.app') @section('title', 'Receipt Printing & Payments') @section('content')
Print devotee pooja vouchers, update payment statuses, and manage counters
| Receipt No | Devotee & Star | Receipt Date | Total Amount | Payment Status | Method | Actions |
|---|---|---|---|---|---|---|
| {{ $receipt->receipt_number ?: '#RC-' . str_pad($receipt->id, 6, '0', STR_PAD_LEFT) }} |
@forelse($devotees as $devotee)
{{ $devotee->devotee_name }}
@if(!empty($devotee->nakshatram))
{{ $devotee->nakshatram }}
@endif
@empty
{{-- Old data fallback --}}
{{ $receipt->devotee_name ?: 'N/A' }}
@if(!empty($receipt->nakshatram))
{{ $receipt->nakshatram }}
@endif
@endforelse
|
{{-- Full date, e.g. 24 September 2026 (display_date is cast to Carbon in the model) --}}
{{ $receipt->display_date?->format('d F Y') ?? 'N/A' }}
|
₹{{ number_format((float) ($receipt->total_amount ?: $grandTotal), 2) }} | {{ $receipt->payment_status_label }} | @if(!empty($receipt->payment_method)) 💳 {{ strtoupper($receipt->payment_method) }} @else — @endif | |
No Receipts FoundNo receipt records matched your filter or search query. Try adjusting your search keywords. Clear Search Filters |
||||||