- core/sales_points.py: in_store, in_store_takeaway, qr_table, online_takeaway, online_delivery, online_preorder (+ old channel names mapped). - Alembic 0017: orders.sales_point (backfilled), products.sold_at (from digital_visible), digital_price/digital_discount -> item price modifiers for the QR menu and online, order_channel conditions -> sales points; drops the three digital columns. - Every order records its sales point; the pricing engine's channel is it; items not sold there are refused (order.not_sold_here, pos.line_invalid not_sold_here). - POS menu: only what the counter sells, prices per counter sales point; the screen shows the order type's products and prices. Waiter app asks for in-person products. - Cloud snapshot: products sold by the customer apps, priced by the engine. - Manager: product "Where it's sold" tab; pricing condition shows sales points. - Products API, catalogue export/import carry sold_at. - Tests: test_sales_points.py (8, incl. the migration), access +1, terminal +1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"actions": {
|
|
"save": "Save",
|
|
"cancel": "Cancel",
|
|
"delete": "Delete",
|
|
"edit": "Edit",
|
|
"add": "Add",
|
|
"close": "Close",
|
|
"back": "Back",
|
|
"retry": "Try again",
|
|
"confirm": "Confirm",
|
|
"done": "Done",
|
|
"search": "Search"
|
|
},
|
|
"status": {
|
|
"loading": "Loading…",
|
|
"saving": "Saving…",
|
|
"saved": "Saved",
|
|
"error": "Something went wrong",
|
|
"offline": "No connection to the server"
|
|
},
|
|
"language": {
|
|
"label": "Language",
|
|
"changed": "Language changed",
|
|
"notSaved": "Language changed on this screen but couldn't be saved to your profile"
|
|
},
|
|
"ui": {
|
|
"close": "Close",
|
|
"dismiss": "Dismiss",
|
|
"loading": "Loading",
|
|
"moreInfo": "More info",
|
|
"notifications": "Notifications",
|
|
"backspace": "Delete",
|
|
"pinProgress": "{{count}} of {{total}} digits entered",
|
|
"submit": "OK",
|
|
"decrease": "Less",
|
|
"increase": "More"
|
|
},
|
|
"override": {
|
|
"title": "Manager approval",
|
|
"body": "This needs a manager's approval. A manager enters their username and PIN here.",
|
|
"action": "Action",
|
|
"username": "Manager username",
|
|
"pin": "PIN",
|
|
"approve": "Approve"
|
|
},
|
|
"access": {
|
|
"moduleOffTitle": "This feature is turned off",
|
|
"moduleOffBody": "A manager can turn it on in Apps.",
|
|
"noAccessTitle": "You don't have access to this page",
|
|
"noAccessBody": "Ask a manager if you need it.",
|
|
"loadFailed": "Can't load the venue's settings"
|
|
},
|
|
"salesPoints": {
|
|
"in_store": {
|
|
"name": "In the shop",
|
|
"hint": "Counter and waiters, eating in"
|
|
},
|
|
"in_store_takeaway": {
|
|
"name": "Takeaway at the counter",
|
|
"hint": "Counter, to take away (and phone orders the venue delivers)"
|
|
},
|
|
"qr_table": {
|
|
"name": "QR menu at the table",
|
|
"hint": "Customers order from the QR menu at their table"
|
|
},
|
|
"online_takeaway": {
|
|
"name": "Online, takeaway",
|
|
"hint": "Ordered online, collected at the venue"
|
|
},
|
|
"online_delivery": {
|
|
"name": "Online, delivery",
|
|
"hint": "Ordered online, delivered"
|
|
},
|
|
"online_preorder": {
|
|
"name": "Online, with a reservation",
|
|
"hint": "Reserved online, food ready on arrival"
|
|
}
|
|
}
|
|
}
|