From f7895d3ccf62359172a3b8cc086d1af3bfea86d3 Mon Sep 17 00:00:00 2001 From: Suriya Date: Fri, 7 Aug 2026 12:14:10 +0530 Subject: [PATCH] Correct what /posroles tells a console about each role MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The supervisor blurb still said "Also signs into the app", which was true when it was written and is now the opposite of true: a till account has no Nearle Daily login at all. A console showing that text would be telling a store admin the one thing about these roles they most need not to believe. The cashier blurb said "Billing only", which understated it in the other direction — a cashier now has their own username and password, so a shop can open without a supervisor standing there. Co-Authored-By: Claude Opus 5 --- controllers/posController.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/controllers/posController.go b/controllers/posController.go index 43b6575..f51dcb2 100644 --- a/controllers/posController.go +++ b/controllers/posController.go @@ -816,13 +816,16 @@ func (ctl *PosController) WebPosRoles(c *fiber.Ctx) error { "details": []fiber.Map{ { "role_id": models.PosRoleSupervisor, "role": "supervisor", - "label": models.PosRoleName(models.PosRoleSupervisor), - "description": "Runs the terminal and creates counter staff. Also signs into the app.", + "label": models.PosRoleName(models.PosRoleSupervisor), + "description": "Runs the terminal: imports, settings, voids, and " + + "creating counter staff. Signs in at a till only — a till " + + "account has no Nearle Daily login.", }, { "role_id": models.PosRoleCashier, "role": "cashier", - "label": models.PosRoleName(models.PosRoleCashier), - "description": "Billing only.", + "label": models.PosRoleName(models.PosRoleCashier), + "description": "Billing only. Signs in at a till with their own username " + + "and password, so a shop can open without a supervisor present.", }, }, })