feat: ordering from the menu tablet at a table (platform-v2 step 6.6, D-30)

- tablet_orders (0034) + services/tablet_orders.py: venue rules (menu_tablet.ordering) with
  per-tablet overrides: kitchen or waiter confirms first, no open order open/refuse, limits
  (items per order, of one dish, time between orders)
- /api/menu-tablet: quote, order, order/{id}, bill (see + ask), requests accept/decline, ordering
- terminal: Add to the order (POS ProductDialog), cart, note, send, live status, the bill
- waiter: TabletRequests on the table page, tablet_order message theme with Open the table
- manager: Settings -> Menu tablets
- tests: test_tablet_orders.py, menu-tablet unit, menu_tablet.mjs e2e (the done-when)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 14:42:37 +02:00
co-authored by Claude Opus 5.5
parent c43dc8b55b
commit c1af7770cf
34 changed files with 1491 additions and 28 deletions
+29 -1
View File
@@ -322,7 +322,8 @@
"print-fonts": "Printing",
"fiscal": "Fiscal device",
"development": "Developer",
"customer-display": "Customer display"
"customer-display": "Customer display",
"menu-tablets": "Menu tablets"
},
"mode": {
"password": "Password",
@@ -1816,5 +1817,32 @@
"trNameHint": "Empty: the name as typed.",
"trDescription": "Description"
}
},
"menuTabletSettings": {
"title": "Ordering from the menu tablets",
"intro": "The rules for guests ordering from a tablet at their table. Each tablet can change any of them in Devices; a tablet takes orders only with “Guests can order” on.",
"confirm": "Who confirms an order",
"confirmTip": "Straight to the kitchen: the order prints in the kitchen at once and the table’s waiters are told. A waiter confirms first: the order waits on the table’s page in the waiters’ phones until one accepts it (then it goes to the kitchen) or declines it with a reason the guests see.",
"confirms": {
"kitchen": "Straight to the kitchen",
"waiter": "A waiter confirms first"
},
"noOrder": "A table with no open order",
"noOrderTip": "Open one: the tablet’s first order opens the table. Wait for a waiter: the guests can order only after a waiter has opened the table.",
"noOrders": {
"open": "The tablet opens one",
"refuse": "Wait for a waiter to open it"
},
"maxItems": "Most items in one order",
"maxItemsTip": "All the items of one order together. Bigger orders are refused with a message on the tablet.",
"maxOfOne": "Most of one dish in one order",
"maxOfOneTip": "How many of the same dish one order can have.",
"minTime": "Time between two orders",
"minTimeTip": "The shortest time between two orders from the same tablet, so a playing child can’t flood the kitchen.",
"noWait": "No wait",
"seconds_one": "{{count}} second",
"seconds_other": "{{count}} seconds",
"minutes_one": "{{count}} minute",
"minutes_other": "{{count}} minutes"
}
}