@extends('layouts.adminlte') @section('content')
Create visit invoices and record Kenyan Shilling payments.
Open a shift before recording cash payments and reconcile it at closing.
Send a Daraja payment prompt to the patient's phone. The invoice is settled only after Safaricom confirms the callback.
| Invoice | Patient | Visit | Total | Paid | Balance | Status | Cashier actions |
|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->patient->first_name }} {{ $invoice->patient->last_name }} | {{ $invoice->patientVisit?->visit_number ?: 'General' }} | KES {{ number_format((float) $invoice->subtotal, 2) }} | KES {{ number_format((float) $invoice->amount_paid, 2) }} | KES {{ number_format((float) $invoice->balance, 2) }} | {{ ucfirst($invoice->status) }} | @if((float) $invoice->balance > 0)@endif @if((float) $invoice->amount_paid - (float) $invoice->refunds->sum('amount') > 0)@endif |
| No invoices created yet. | |||||||