pos login edited with phone number

This commit is contained in:
2026-08-11 11:08:43 +05:30
parent 3531c656d4
commit d35caf34d3
12 changed files with 768 additions and 25 deletions

View File

@@ -147,5 +147,13 @@ func registerPosStaffConsoleRoutes(api fiber.Router, f *facade.Facade) {
g.Post("/createposuser", f.PosController.WebCreatePosUser)
g.Put("/updateposuser", f.PosController.WebUpdatePosUser)
g.Delete("/deleteposuser", f.PosController.WebDeletePosUser)
// Working windows a till account can be assigned to. Alongside the
// staff routes rather than under /pos, for the same reason: the caller
// is the back office setting a shop up, and it holds no terminal
// session to be checked against.
g.Get("/getstaffshifts", f.PosController.WebListStaffShifts)
g.Post("/createstaffshift", f.PosController.WebCreateStaffShift)
g.Put("/updatestaffshift", f.PosController.WebUpdateStaffShift)
}
}