BioFlow API — round oct30 (2026-10-23) — DELTA on oct29 (deployed). Migrations 095, 096, 097.

What changes for staff
- Assign: besides engineers, an order can be passed to an Office manager / Accounts person ("Coordinator") with a note.
  They see it in Waiting for your action and assign an engineer later.
- Operations can assign and reassign every work order (a new order still needs approval first).
- Service head (Masters, super admin): new service jobs go to him automatically; service jobs and Service orders can
  be assigned to anyone in the company (staff who also work here included), with notes; he can send out for fixing.
- Inter-company transfer: the borrowing company requests from another company itself — global stock first, search,
  machine type filter, machines AND consumables (with qty) in one request. Super admins don't switch company.
  Rent share: the owner's 80 % is of the rent AFTER GST. NOTE: this also applies to rent cycles recorded from now on
  on transfers already running.
- Machine lines: each line has a price type (for the period / per day / per month) and the total follows the lines.
  Lines read NIV 1, NIV 2 with the serial once linked. Hospital (usage) rentals bill from the line rates and show
  "Running to date".
- Fixed rental: amount editable; "Extend period" on the SAME order with the new total amount.
- Hospital / vendor sale + rental completion: no ID card / documents / signature. Record who received it (name, phone,
  designation for hospitals) or the courier name + AWB. Signed DC / invoice / machine photo / courier receipt optional.
- Hospital and vendor orders always get a Proforma invoice (Accounts / super can still make the tax invoice from it).
- A settled order whose total later goes DOWN (e.g. Return) keeps the agreed balance; the write-off absorbs it.
- Waiting for your action: numbers on the header and the groups now agree, "See all" always shown.
- Operations see the Staff tab of Cash collections.

Steps (in public_html/)
1. Extract this zip.
2. cd medserv-api
3. php bin/migrate.php                       (applies 095, 096, 097)
4. php bin/smoke_test.php                    (expect 0 failed)
5. Extract medserv-erp-oct30-deploy.zip (web, hard-refresh) and medserv-app-0.47.0-update.zip (app).
6. Masters → Service head → pick the person (super admin). Make sure he is linked to every company (Users → Also works in).
