|
{{ $hs['hospital_name'] ?? 'Clara Rosa Hospital' }}
{{ $hs['hospital_address'] ?? '' }}
Tel: {{ $hs['hospital_phone'] ?? '' }} Email: {{ $hs['hospital_email'] ?? '' }} @if($hs['kra_pin'] ?? null) KRA PIN: {{ $hs['kra_pin'] }}@endif |
Invoice No.: {{ $invoice->invoice_number }}
Date: {{ $invoice->created_at->format('d M Y') }} {{ ucfirst($invoice->status) }} |
| @if($isIns && $invoice->insuranceCompany) @else @endif |
| # | Description | Category | Qty | Unit Price | Total (KES) |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->description }} | {{ $item->category }} | {{ $item->quantity }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->total, 2) }} |
| Subtotal | KES {{ number_format($invoice->subtotal, 2) }} |
| Discount | - KES {{ number_format($invoice->discount_amount, 2) }} |
| Waiver | - KES {{ number_format($invoice->waiver_amount, 2) }} |
| TOTAL | KES {{ number_format($invoice->total_amount, 2) }} |
| Amount Paid | KES {{ number_format($invoice->amount_paid, 2) }} |
| Balance Due | KES {{ number_format($invoice->balance, 2) }} |
| Date | Method | Reference | Amount (KES) |
|---|---|---|---|
| {{ $pay->created_at->format('d M Y H:i') }} | {{ str_replace('_',' ',$pay->payment_method) }} | {{ $pay->mpesa_code ?? $pay->reference_number ?? '-' }} | {{ number_format($pay->amount, 2) }} |