mirror of
https://github.com/tiennm99/bsk.git
synced 2026-08-03 08:22:10 +00:00
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.