Inventory
Who it is for
Staff (admins).
What you can do
- View all units for a facility in a table.
- Filter by status, size, feature, and search text.
- Sort by unit number or walk order.
- Select several units and set their status at once.
- Edit or delete a unit.
- Add a unit or bulk-generate units.
- Open the walk sheet or turnover queue.
How it works
- Route:
/admin/facilities/[id]/inventory(rendered bycomponents/storage/FacilityDashboard.tsxwith tab "inventory"). - The table is
components/storage/InventoryTable.tsx. - Status changes use
bulkUpdateRoomStatusinactions/storage.ts; unit edits useupdateRoomanddeleteRoom. - The walk sheet is
components/storage/WalkSheet.tsxloading data fromgetWalkSheetinactions/walkSheet.ts. Its route is/admin/facilities/[id]/walk. The turnover queue route is/admin/facilities/[id]/turnover. - The walk sheet can include a tenant name for an occupied unit. The public map never does.
Limits
- Inventory actions require an admin session.
- Bulk status applies only to selected units.
Lockyard