Correct what /posroles tells a console about each role
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 <noreply@anthropic.com>
This commit is contained in:
@@ -816,13 +816,16 @@ func (ctl *PosController) WebPosRoles(c *fiber.Ctx) error {
|
|||||||
"details": []fiber.Map{
|
"details": []fiber.Map{
|
||||||
{
|
{
|
||||||
"role_id": models.PosRoleSupervisor, "role": "supervisor",
|
"role_id": models.PosRoleSupervisor, "role": "supervisor",
|
||||||
"label": models.PosRoleName(models.PosRoleSupervisor),
|
"label": models.PosRoleName(models.PosRoleSupervisor),
|
||||||
"description": "Runs the terminal and creates counter staff. Also signs into the app.",
|
"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",
|
"role_id": models.PosRoleCashier, "role": "cashier",
|
||||||
"label": models.PosRoleName(models.PosRoleCashier),
|
"label": models.PosRoleName(models.PosRoleCashier),
|
||||||
"description": "Billing only.",
|
"description": "Billing only. Signs in at a till with their own username " +
|
||||||
|
"and password, so a shop can open without a supervisor present.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user