feat(waiter): where each line came from; QR lines marked, the QR message opens the table (platform-v2 step 4.8b)

- order_items.source (Alembic 0025): waiter | counter | qr | online, set by the server
  (orders.add_priced_items: the phone / manager 'waiter', the counter 'counter'; the QR
  menu's lines 'qr', online orders 'online'; a split line keeps its source); lines of
  existing online orders backfilled 'online'; in the order's item output.
- Waiter: lines the guests sent from the QR menu (or an online order) carry a "📱 QR" /
  "🌐 Online" mark; the qr_order message's banner has "Open the table", and in the bell's
  list the message opens it.
- Tests: source per channel, migration 0025, QR placement marks 'qr'; waiter e2e +1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 09:59:57 +02:00
co-authored by Claude Opus 5.5
parent 198f8ff571
commit 1e8271e370
15 changed files with 124 additions and 9 deletions
+8 -2
View File
@@ -659,7 +659,12 @@
"noItems": "Δεν υπάρχουν αντικείμενα",
"due": "Εκκρεμεί",
"paidBadge": "Πληρωμένο",
"cancelledBadge": "Ακυρωμένο"
"cancelledBadge": "Ακυρωμένο",
"source": {
"qr": "Στάλθηκε από τους πελάτες μέσω QR",
"online": "Από online παραγγελία",
"onlineShort": "Online"
}
},
"picker": {
"noService": "Δεν υπάρχουν service αντικείμενα",
@@ -788,7 +793,8 @@
"tables_one": "Τραπέζι: {{tables}}",
"tables_other": "Τραπέζια: {{tables}}",
"more_one": "+{{count}} ακόμα μήνυμα",
"more_other": "+{{count}} ακόμα μηνύματα"
"more_other": "+{{count}} ακόμα μηνύματα",
"openTable": "Άνοιγμα τραπεζιού"
},
"history": {
"tab": "Ιστορικό",
+8 -2
View File
@@ -659,7 +659,12 @@
"noItems": "No items",
"due": "Due",
"paidBadge": "Paid",
"cancelledBadge": "Cancelled"
"cancelledBadge": "Cancelled",
"source": {
"qr": "Sent by the guests from the QR menu",
"online": "From an online order",
"onlineShort": "Online"
}
},
"picker": {
"noService": "No service items",
@@ -788,7 +793,8 @@
"tables_one": "Table: {{tables}}",
"tables_other": "Tables: {{tables}}",
"more_one": "+{{count}} more message",
"more_other": "+{{count}} more messages"
"more_other": "+{{count}} more messages",
"openTable": "Open the table"
},
"history": {
"tab": "History",