Skip to content

Managers (Admin)

Managers are admin-side staff accounts (list, create, edit) with status tabs, search, and pagination. Stats tiles may be partially placeholder—see list section for current behavior.


GoalsNon-goals
CRUD manager records within org policyReplace HRIS or full IAM
Clarify which stats are live vs placeholderDocument Laravel admin_users schema fully

  • List: All / Active / Inactive / Blocked tabs; debounced search (~400ms); 10 rows per page.
  • Total stat uses list meta total; other tiles may show until implemented.

  1. Open Managers list → filter by status → find user.
  2. Create → submit form → return to list.
  3. Edit → update role/status → save.

  • Grant least privilege roles; audit blocked state for offboarding.
  • Master vs zone admin rules mirror Admin overview.

IDScenarioExpected
MG1List loadsRows + pagination
MG2Create managerRecord appears with expected role
MG3Block userLogin prevented per backend

PathPurpose
/dashboard/managersStaff list
/dashboard/managers/createCreate manager
/dashboard/managers/:id/editEdit manager
  • Status tabsAll, Active, Inactive, Blocked (passed to the API as lowercase status when not “All”).
  • Search — debounced (400ms); pagination10 rows per page.
  • StatsTotal employees uses the list meta total; other stat tiles still show as placeholders in the current UI.
  • Extra filters — the Filters control is disabled (“Coming soon”).
  • Table — columns for staff name, phone, role name, zone (or “Global” when no zone id), and actions (edit links to /dashboard/managers/:id/edit).

“Managers” here means admin-side staff (Laravel admin-style users) managed through fetchAdminManagersList, not vendor POS users. Role and zone assignment align with Roles and Zones.