feat(backend,waiter,terminal,manager): +1 on a sent line and changing a line's quantity
Owner 2026-11-23 (plan 6F.5). Product flag one_more_enabled (off by default; product editor).
POST /api/orders/{id}/items/{item}/again: a new line like the old one (choices, removed, note,
course), priced now, sent to the kitchen like any new line. Waiter app and the counter's table
panel: +1 beside such lines; the first tap arms it, more taps count up, 'Send +N' sends, 4 s idle
disarms (no stray sends).
POST /api/orders/{id}/items/{item}/quantity: venue setting orders.quantity_change (off | add_only |
add_and_remove, default off), key ordering.items.change_quantity (owner, store manager; Alembic 0049
grants it); up only changes the line, down cuts a cancelled part ('quantity lowered', split_from_id)
and prints a cancellation only when asked (the dialog presets yes while the kitchen hasn't finished).
Waiter: 'Change quantity' in a line's actions (now -> new, -/+). cut_part() now shared with split.
GET /api/orders/{id} items carry the product's one_more_enabled / unit_type, deal ids, split_from_id,
cancel_reason.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -529,7 +529,9 @@
|
||||
"moveItems": "Σφάλμα μεταφοράς αντικειμένων",
|
||||
"flags": "Σφάλμα αποθήκευσης σημαιών",
|
||||
"combine": "Σφάλμα συνδυασμού",
|
||||
"price": "Η τιμή δεν άλλαξε."
|
||||
"price": "Η τιμή δεν άλλαξε.",
|
||||
"again": "Το «άλλο ένα» δεν στάλθηκε.",
|
||||
"quantity": "Η ποσότητα δεν άλλαξε."
|
||||
},
|
||||
"openOrder": "Άνοιγμα Παραγγελίας",
|
||||
"noPaid": "Δεν υπάρχουν πληρωμένα αντικείμενα",
|
||||
@@ -896,5 +898,25 @@
|
||||
"items_moved": "Μεταφορά γραμμών",
|
||||
"orders_merged": "Ένωση τραπεζιών"
|
||||
}
|
||||
},
|
||||
"oneMore": {
|
||||
"label": "Άλλο ένα",
|
||||
"send": "Αποστολή +{{count}}"
|
||||
},
|
||||
"quantity": {
|
||||
"title": "Αλλαγή ποσότητας",
|
||||
"actionSub": "Διόρθωση ποσότητας· δεν ξαναστέλνεται στην κουζίνα",
|
||||
"now": "Τώρα",
|
||||
"new": "Νέα",
|
||||
"less": "Ένα λιγότερο",
|
||||
"more": "Ένα ακόμη",
|
||||
"save": "Αποθήκευση",
|
||||
"upNote_one": "{{count}} ακόμη, χωρίς νέο δελτίο",
|
||||
"upNote_other": "{{count}} ακόμη, χωρίς νέο δελτίο",
|
||||
"downNote_one": "{{count}} θα ακυρωθεί",
|
||||
"downNote_other": "{{count}} θα ακυρωθούν",
|
||||
"noChange": "Αλλάξτε τη με − και +",
|
||||
"onlyUp": "Σε αυτό το κατάστημα οι ποσότητες μόνο αυξάνονται.",
|
||||
"sendCancel": "Αποστολή ακύρωσης στην κουζίνα"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user