| Receipt No. | {{ $receipt->receipt_number }} |
| Date | {{ $receipt->created_at->format('d/m/Y H:i') }} |
| Patient | {{ $receipt->patient->full_name ?? '' }} |
| MRN | {{ $receipt->patient->mrn ?? '' }} |
| Invoice | {{ $receipt->invoice?->invoice_number ?? '' }} |
| Method | {{ str_replace('_',' ',$receipt->payment_method) }} |
@if($receipt->payment->reference_number ?? $receipt->payment->mpesa_code ?? null)
| Reference | {{ $receipt->payment->reference_number ?? $receipt->payment->mpesa_code ?? '' }} |
@endif
{{-- ── SHA member block (thermal) ───────────────────────────────────
Rendered as plain dashed-bordered rows so it prints cleanly on
80mm POS paper without grey backgrounds (thermal printers will
render shaded blocks as black ink waste). Only shows when this
receipt's payment is an SHA payment. --}}
@if(!empty($receipt->payment?->sha_number))