feat(backend): KDS item claims across screens; zone screens only touch their own items (platform-v2 3.2c)
- order_items.claimed_by / claimed_at (Alembic 0015). POST/DELETE
/api/kds/orders/{id}/items/{item}/claim (kds.bump): someone else's claim is refused
(kds.item_claimed), letting go works for anyone with kds.bump; live kds_item_claimed.
In progress claims for whoever did it; done/served/pending/declined clear the claim.
- Fix: order-level status and decline from a zone screen changed every zone's items;
now only the screen's zone, and a zone screen sees the order status of its own items.
- Terminal: "I'm on it" / "Let go" on the selected card, the cook's name on claimed items.
- Tests: backend +6, terminal unit +1, terminal.mjs +6 with a second screen and cook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -153,6 +153,13 @@
|
||||
"undone": "Αναίρεση",
|
||||
"redone": "Επανάληψη",
|
||||
"settingsSaved": "Οι ρυθμίσεις αποθηκεύτηκαν"
|
||||
},
|
||||
"claim": {
|
||||
"take": "Το αναλαμβάνω",
|
||||
"release": "Αφήνω",
|
||||
"taken": "Ο/Η {{name}} το έχει ήδη αναλάβει",
|
||||
"taken_by_me": "Το ανέλαβες",
|
||||
"released": "Το άφησες"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user