Consolidation layer for receivables, refunds, pharmacy purchase finance, and organization credit reporting.
| Phase | Scope | Status |
|---|---|---|
| = (int) ($row['phase'] ?? 0) ?> | = esc((string) ($row['name'] ?? '')) ?> | Live Started Planned |
| Stream | Invoices | Pending | Billed | Collected | Outstanding |
|---|---|---|---|---|---|
| = esc((string) ($stream['label'] ?? '')) ?> | = (int) ($stream['invoice_count'] ?? 0) ?> | = (int) ($stream['pending_count'] ?? 0) ?> | = esc(number_format((float) ($stream['billed_total'] ?? 0), 2)) ?> | = esc(number_format((float) ($stream['collected_total'] ?? 0), 2)) ?> | = esc(number_format((float) ($stream['outstanding_total'] ?? 0), 2)) ?> |
| Refund Type | Requests | Total Amount | Pending | Pending Amount | Completed Amount |
|---|---|---|---|---|---|
| = esc((string) ($row['type_label'] ?? 'Other')) ?> | = (int) ($row['total_requests'] ?? 0) ?> | = esc(number_format((float) ($row['total_amount'] ?? 0), 2)) ?> | = (int) ($row['pending_count'] ?? 0) ?> | = esc(number_format((float) ($row['pending_amount'] ?? 0), 2)) ?> | = esc(number_format((float) ($row['completed_amount'] ?? 0), 2)) ?> |