devsofttech_hms_ci4/app/Controllers/Billing
DevSoftTech Server ba9d17d5e6 Fix org-case invoice query: exclude empty insurance_case_id
Root cause: 50k+ invoices had insurance_case_id='0', and MySQL string comparison '0'='C26060004997' matched (both convert to numeric 0).

Fix: Exclude NULL/empty/'0' insurance_case_id before comparison in:
- getOrganizationCaseInvoiceRows() union query
- updateOrgTotals() aggregate queries

Result: Case C26060004997 now returns 9 rows instead of 56,786 (memory crash fixed)
2026-06-05 14:09:26 +05:30
..
CaseMaster.php Fix org-case invoice query: exclude empty insurance_case_id 2026-06-05 14:09:26 +05:30
Charges.php Fix billing invoice balance/payment flow and deduction UI 2026-04-01 07:23:29 +05:30
Ipd.php fix: recalculate IPD billing on panel open, bill-details, and print 2026-04-10 21:11:24 +05:30