pos login edited with phone number
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user