Date:
{{ $patientLedger->transaction_date->format('d/M/Y') }}
Receipt No:
@if($patientLedger->series && $patientLedger->receipt_number)
{{ strtoupper(substr($patientLedger->series->name, 0, 4)) }}-{{ str_pad($patientLedger->receipt_number, 4, '0', STR_PAD_LEFT) }}
@else
GEN-{{ str_pad($patientLedger->id, 5, '0', STR_PAD_LEFT) }}
@endif
Patient Name:
{{ strtoupper($patientLedger->patient->name) }}
UHID:
{{ $patientLedger->patient->uhid }}
Particulars:
{{ $patientLedger->series->name ?? 'GENERAL' }}
@if($patientLedger->description)
{{ $patientLedger->description }}
@endif
₹{{ number_format($patientLedger->credit_amount ?: $patientLedger->debit_amount, 2) }}
Mode:
{{ strtoupper($patientLedger->payment_mode ?? 'CASH') }}