BioFlow — collection correction tools (oct30, 23-10-2026). Works on the server as it is now (oct29).
Extract this zip in public_html/ (it only adds/replaces 4 files in medserv-api/bin/). No migration.

1) TBS-2024-12/05/001 (Midhun: total collected is 45,000):
   cd medserv-api
   php bin/set_collected.php --code=TBS-2024-12/05/001 --collected=45000 --include-deposited
   php bin/set_collected.php --code=TBS-2024-12/05/001 --collected=45000 --include-deposited --note="per Midhun" --confirm
   The Rs 54,000 was already inside Najuma's cash deposit, so the tool used to skip it. --include-deposited
   lowers the collection AND takes the same Rs 9,000 off that deposit (her cash in hand stays right).

2) A settled order whose Return changed the total (remaining shows less than agreed):
   php bin/set_remaining.php --code=<WORK CODE> --remaining=10000            (dry run)
   php bin/set_remaining.php --code=<WORK CODE> --remaining=10000 --note="per Midhun" --confirm
   It adjusts the write-off so "still to collect" is exactly what was agreed.

3) WhatsApp list of today's corrections:
   php bin/collection_corrections_report.php --date=2026-10-23 --company=TBS
