Size codes
Who it is for
Staff (admins).
What you can do
- Create, edit, and delete size codes for a facility.
- Set dimensions, features, and a default monthly rate.
How it works
- Route:
/admin/facilities/[id]/sizes(rendered bycomponents/storage/FacilityDashboard.tsxwith tab "sizes"). - The manager is
components/storage/SizeCodeManager.tsx. - Create, update, and delete use
createSizeCode,updateSizeCode, anddeleteSizeCodeinactions/storage.ts.
Limits
- Size-code names are unique per facility, compared without regard to case.
- Two facilities may reuse a name.
- Saving a code onto itself is allowed.
Lockyard