@extends('layouts.admin') @section('title', 'Billing & Payments') @section('page', 'billing') @section('content') @php $cur = config('clinic.currency.symbol'); @endphp

Practice Financial & Payment Center

Manage patient billing, part-payments, receipts, and outstanding dues.

Patients with Pending Due
{{ $stats['pending_patients'] }}
Require balance collection
Total Outstanding Amount
{{ $cur }} {{ number_format($stats['outstanding'],2) }}
To be collected via installments
Today's Payments
{{ $cur }} {{ number_format($stats['today'],2) }}
Collected today
Total Charges
{{ $stats['invoices'] }}
Billed line items
@if(request('outstanding'))@endif
@forelse($patients as $p) @php $billed=$p->billed??0; $paid=$p->paid??0; $due=$billed-$paid; @endphp @empty @endforelse
PatientContactTotal BilledPaidBalance DueStatusAction
{{ strtoupper(substr($p->full_name,0,1)) }}
{{ $p->full_name }}
{{ $p->code }}
{{ $p->phone }} {{ $cur }}{{ number_format($billed,2) }} {{ $cur }}{{ number_format($paid,2) }} {{ $cur }}{{ number_format($due,2) }} @if($due>0){{ $cur }}{{ number_format($due,2) }} DUE@else● Paid in full@endif Manage
No patients.
{{ $patients->total() }} accounts
@endsection