Lockyard

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 by components/storage/FacilityDashboard.tsx with tab "inventory").
  • The table is components/storage/InventoryTable.tsx.
  • Status changes use bulkUpdateRoomStatus in actions/storage.ts; unit edits use updateRoom and deleteRoom.
  • The walk sheet is components/storage/WalkSheet.tsx loading data from getWalkSheet in actions/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.