nearle admin agent
This commit is contained in:
6
services/tools/testdata/help_cashier.json
vendored
6
services/tools/testdata/help_cashier.json
vendored
@@ -12,9 +12,9 @@
|
||||
"source": "src/api/people.ts, src/auth/session.ts"
|
||||
},
|
||||
{
|
||||
"question": "Why do online and counter sales not add up to one total?",
|
||||
"answer": "App orders and counter bills are kept in two separate sets of books, and nothing\nreconciles them into a single figure.\n\nAn app order is placed by a customer and may carry a delivery. A counter bill is\nrung on a till in the shop. They are counted separately everywhere in the\nconsole, which is why a revenue figure from one place will not match a total\nfrom the other.\n\nWhen you need both, read them side by side and say which is which. Adding them\ntogether produces a number that looks authoritative and is not.",
|
||||
"source": "src/features/store-admin/pages/SalesPage.tsx, services/posService.go"
|
||||
"question": "What does creating a branch actually create?",
|
||||
"answer": "A branch is never created on its own. It arrives with somebody who can run it,\nand there are two ways to give it one.\n\nName an existing person and they are bound to the new outlet. They must already\nbelong to that same merchant and must not be a till account — a userid from\nanother business, or one that does not exist, is refused with the same message,\nand the branch is not created at all rather than left standing with nobody.\n\nGive an email instead and a login is spawned from it. That account is named\nafter the shop, sits on the shop's email, and **is created with no password**.\nThat is deliberate, not a fault: the first person to sign in is told the account\nneeds a password and sets one, and only then can they get in.\n\nSo a newly created branch whose operator reports they \"cannot sign in\" has\nusually not been broken — they have not been through the password step yet. The\naccount is real and active; it simply has nothing to check a password against\nuntil somebody sets one.\n\nIf the branch was created with neither an operator nor an email, it was not\ncreated. That combination is refused outright, because an outlet nobody can sign\nin to still appears in every list and every branch picker, and the first person\nto notice is whoever is standing in the shop.",
|
||||
"source": "repositories/tenantRepository.go, src/auth/session.ts"
|
||||
}
|
||||
],
|
||||
"count": 3,
|
||||
|
||||
Reference in New Issue
Block a user