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
+62 -1
View File
@@ -283,7 +283,8 @@
"look": "Εμφάνιση",
"menu": "Μενού",
"use": "Χρήση",
"table": "Σε τραπέζι"
"table": "Σε τραπέζι",
"order": "Παραγγελία από το τραπέζι"
},
"config": {
"view": {
@@ -370,6 +371,66 @@
"call_waiter": {
"label": "Οι πελάτες καλούν σερβιτόρο",
"hint": "Κουμπί που στέλνει μήνυμα στους σερβιτόρους του τραπεζιού (το πολύ μία φορά το λεπτό)."
},
"ordering": {
"label": "Οι πελάτες παραγγέλνουν",
"hint": "Μόνο σε τραπέζι: καλάθι, επιλογές πιάτων και «Αποστολή». Οι κανόνες του χώρου είναι στις Ρυθμίσεις → Tablet μενού."
},
"bill": {
"label": "Οι πελάτες βλέπουν τον λογαριασμό",
"hint": "Τι έχει παραγγείλει το τραπέζι ως τώρα και «Ζητήστε τον λογαριασμό» (μήνυμα στους σερβιτόρους του τραπεζιού)."
},
"order_confirm": {
"label": "Οι παραγγελίες πάνε",
"choices": {
"venue": "Όπως ο χώρος (Ρυθμίσεις)",
"kitchen": "Κατευθείαν στην κουζίνα",
"waiter": "Σε σερβιτόρο για επιβεβαίωση"
}
},
"order_no_order": {
"label": "Όταν το τραπέζι δεν έχει ανοιχτή παραγγελία",
"choices": {
"venue": "Όπως ο χώρος (Ρυθμίσεις)",
"open": "Την ανοίγει το tablet",
"refuse": "Να την ανοίξει πρώτα σερβιτόρος"
}
},
"order_max_items": {
"label": "Μέγιστα τεμάχια ανά παραγγελία",
"choices": {
"-1": "Όπως ο χώρος (Ρυθμίσεις)",
"5": "5",
"10": "10",
"15": "15",
"20": "20",
"30": "30",
"50": "50"
}
},
"order_max_of_one": {
"label": "Μέγιστα από ένα πιάτο ανά παραγγελία",
"choices": {
"-1": "Όπως ο χώρος (Ρυθμίσεις)",
"1": "1",
"2": "2",
"3": "3",
"5": "5",
"10": "10",
"20": "20"
}
},
"order_min_seconds": {
"label": "Ελάχιστος χρόνος ανάμεσα σε παραγγελίες",
"choices": {
"-1": "Όπως ο χώρος (Ρυθμίσεις)",
"0": "Χωρίς αναμονή",
"30": "30 δλ",
"60": "1 λεπτό",
"120": "2 λεπτά",
"300": "5 λεπτά",
"600": "10 λεπτά"
}
}
}
},