feat: tables and orders in the manager on v2 (platform-v2 step 6.9)
- manager: new pages/orders/ (Tables page cards + quick actions, order page with
lines, multi-select pay/discount/cancel/tab, staff + customer, price changes,
history, the menu + cart beside it); a free table opens a new order on first
Send; v1 TablesPage, OrderDetailPage, DesktopOrderingTab, ManagerOrderDrawer
and PaymentMethodModal removed
- ordering by line id like the phones: GET /api/orders/menu (the counter's
product shape, in-store prices); the product dialog, cart rules and quote hook
move to packages/ordering (@xenia/ordering), shared by counter, menu tablet,
manager
- close follows orders.close_with_unpaid (pay first, or write off after saying
so) on the order page and the overview's quick view; paying asks cash or card
- a confirmed booking can keep its table ahead (manager, phones, counter):
POST /api/connect/bookings/{id}/table, reservations create/PATCH; refused with
reservation.table_kept within 2 h of another booking
- tests: test_manager_ordering.py, online bookings +2, manager orders.test.mjs,
@xenia/ordering, e2e manager.mjs (take, change, pay-first close, RESERVED)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -183,17 +183,6 @@
|
||||
"less": "Ένα λιγότερο",
|
||||
"more": "Ένα ακόμη",
|
||||
"each": "{{price}} το ένα",
|
||||
"dialog": {
|
||||
"close": "Κλείσιμο",
|
||||
"add": "Στο καλάθι",
|
||||
"pickOne": "επιλέξτε ένα",
|
||||
"quick": "Προσθήκες",
|
||||
"extras": "Έξτρα",
|
||||
"without": "Χωρίς",
|
||||
"note": "Σημείωση για την κουζίνα",
|
||||
"quantity": "Ποσότητα",
|
||||
"missing": "Μένει να επιλέξετε: {{list}}"
|
||||
},
|
||||
"gate": {
|
||||
"dayClosed": "Η ημέρα εργασίας δεν έχει ανοίξει",
|
||||
"dayOpeners": "Ζητήστε από κάποιον που μπορεί να την ανοίξει: {{names}}.",
|
||||
@@ -463,7 +452,10 @@
|
||||
"noTable": "Χωρίς τραπέζι ακόμα",
|
||||
"arrive": "Ήρθαν: καθίστε τους",
|
||||
"cancel": "Ακύρωση",
|
||||
"noShow": "Δεν ήρθαν"
|
||||
"noShow": "Δεν ήρθαν",
|
||||
"keep": "Κράτηση αυτού του τραπεζιού",
|
||||
"release": "Χωρίς κρατημένο τραπέζι",
|
||||
"busyNow": "πιασμένο τώρα"
|
||||
},
|
||||
"call": {
|
||||
"title": "Εισερχόμενη κλήση",
|
||||
@@ -471,6 +463,9 @@
|
||||
"takeaway": "Νέα πώληση για παραλαβή",
|
||||
"visits_one": "{{count}} επίσκεψη · {{spent}}",
|
||||
"visits_other": "{{count}} επισκέψεις · {{spent}}"
|
||||
},
|
||||
"dialog": {
|
||||
"close": "Κλείσιμο"
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
|
||||
Reference in New Issue
Block a user