Files
tiennm99 d91515c36e feat(queue): manual counter control + apply checkup templates
Closes the last two original-app feature gaps:

- set_queue_counter RPC (admin/receptionist, advisory-locked, VN-local day)
  plus per-shift counter display for all staff and a set/reset form for
  admin/receptionist (orig SetCounterRequest/GetCounterRequest)
- checkup templates are now actually applied: pick a template on the checkup
  screen (filtered to the patient's gender), its fields render as inputs and
  persist to the new checkups.template_values jsonb; the ultrasound report PDF
  already reads the template title

daily_queue_counters gains a SELECT policy (reads only) — writes stay inside
the DEFINER RPCs.
2026-07-25 15:05:20 +07:00
..