ThreadCount Community edition

Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
This commit is contained in:
ThreadCount
2026-09-13 08:54:35 +10:00
commit 344b1701dd
505 changed files with 56231 additions and 0 deletions
@@ -0,0 +1,11 @@
-- The ceiling for the groups that never had one.
--
-- Operational Officers have always had a cap. Kitchen, retail, nutrition, security and the
-- ambassadors have had none at all, so a request from one of them was weighed against nothing but
-- the manager's patience. Six sets — twelve garments — is the figure the owner has set, and unlike
-- the operational allowance nothing releases it on its own: the manager approves each set up to
-- this number. Nursing never reaches it, because the NUM's signature is their control.
--
-- The default is not optional here. This runs against a live linen room with a row per facility,
-- and a NOT NULL with nothing behind it fails on the first one.
ALTER TABLE "Facility" ADD COLUMN "capSets" INTEGER NOT NULL DEFAULT 6;