- 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>
166 lines
4.6 KiB
JSON
166 lines
4.6 KiB
JSON
{
|
|
"start": {
|
|
"title": "Xenia terminal"
|
|
},
|
|
"pairing": {
|
|
"intro": "Pair this screen with the venue:",
|
|
"howTo": "In the manager, open Devices → Pair a device and type this code.",
|
|
"removed": "This screen was removed from the venue. Pair it again to use it."
|
|
},
|
|
"signIn": {
|
|
"title": "Who's signing in?",
|
|
"enterPin": "Enter your PIN",
|
|
"password": "Password",
|
|
"submit": "Sign in",
|
|
"back": "Back",
|
|
"empty": "Nobody can sign in here yet",
|
|
"emptyBody": "Give someone the {{app}} permission under Staff in the manager."
|
|
},
|
|
"blocked": {
|
|
"off": "{{app}} is turned off",
|
|
"offBody": "A manager can turn it on under Apps. This screen starts by itself then.",
|
|
"notLicensed": "{{app}} isn't in the venue's license",
|
|
"notLicensedBody": "Ask for it to be added to the license. This screen starts by itself then.",
|
|
"refused": "This screen can't be used right now"
|
|
},
|
|
"bar": {
|
|
"signOut": "Sign out"
|
|
},
|
|
"offline": {
|
|
"banner": "Can't reach the venue server. Trying again…"
|
|
},
|
|
"apps": {
|
|
"placeholder": "This screen runs {{app}}. Its screens are being built.",
|
|
"unknownTitle": "Unknown app",
|
|
"unknown": "This screen is set to run \"{{app}}\", which this terminal doesn't have yet. Update the venue server."
|
|
},
|
|
"kds": {
|
|
"loading": "Loading…",
|
|
"empty": "No orders for the selected filters",
|
|
"cancel": "Cancel",
|
|
"close": "Close",
|
|
"age": {
|
|
"new": "new",
|
|
"minutes": "{{m}}m",
|
|
"hours": "{{h}}h {{m}}m",
|
|
"ago": "{{time}} ago"
|
|
},
|
|
"card": {
|
|
"items_one": "{{count}} item",
|
|
"items_other": "{{count}} items",
|
|
"status": {
|
|
"pending": "To do",
|
|
"preparing": "▶ Prep",
|
|
"done": "✓ Done"
|
|
},
|
|
"batch": "Round {{n}}",
|
|
"noCourse": "No course"
|
|
},
|
|
"channel": {
|
|
"here": "Here",
|
|
"takeaway": "Takeaway",
|
|
"delivery": "Delivery"
|
|
},
|
|
"tabs": {
|
|
"all": "All"
|
|
},
|
|
"actions": {
|
|
"prepare": "In progress",
|
|
"complete": "Done",
|
|
"reset": "Back",
|
|
"print": "Print",
|
|
"callWaiter": "Call waiter"
|
|
},
|
|
"quick": {
|
|
"prep": "Prep",
|
|
"ready": "Ready",
|
|
"undo": "Undo",
|
|
"decline": "Decline",
|
|
"close": "Close"
|
|
},
|
|
"decline": {
|
|
"order": "Decline order",
|
|
"item": "Decline item",
|
|
"reasons": {
|
|
"out_of_stock": "Out of stock",
|
|
"too_many_orders": "Too many orders",
|
|
"other": "Other reason"
|
|
},
|
|
"notePlaceholder": "Add a note (optional)…"
|
|
},
|
|
"summary": {
|
|
"title": "Item totals",
|
|
"subtitle": "To do + in progress · {{count}} kinds",
|
|
"empty": "No items",
|
|
"button": "Totals"
|
|
},
|
|
"rail": {
|
|
"future": "Later",
|
|
"pending": "To do",
|
|
"preparing": "Prep",
|
|
"done": "Done",
|
|
"undo": "Undo",
|
|
"redo": "Redo",
|
|
"call": "Call",
|
|
"sound": "Sound",
|
|
"muted": "Muted",
|
|
"settings": "Settings"
|
|
},
|
|
"zoom": {
|
|
"smaller": "Smaller text",
|
|
"larger": "Larger text"
|
|
},
|
|
"call": {
|
|
"title": "Call a waiter",
|
|
"needsHelp": "{{zone}} needs help",
|
|
"none": "No waiter is on shift",
|
|
"all": "All waiters",
|
|
"send": "Call",
|
|
"sendCount": "Call ({{count}})",
|
|
"sending": "Sending…"
|
|
},
|
|
"start": {
|
|
"title": "Tap to start",
|
|
"body": "The screen needs one tap before it can play the sound for new orders."
|
|
},
|
|
"settings": {
|
|
"title": "Screen settings",
|
|
"save": "Save",
|
|
"seconds": "{{s}}s",
|
|
"noPermission": "Only a manager can change this screen's settings. Ask one to sign in here.",
|
|
"tabs": {
|
|
"zone": "Prep zone",
|
|
"behaviour": "Behaviour",
|
|
"board": "Board",
|
|
"age": "Waiting time",
|
|
"notifications": "Notifications"
|
|
}
|
|
},
|
|
"toast": {
|
|
"newOrders_one": "{{count}} new order",
|
|
"newOrders_other": "{{count}} new orders",
|
|
"done": "✓ Done",
|
|
"preparing": "▶ In progress",
|
|
"pending": "↩ Back to to do",
|
|
"waiterCalled": "Waiter notified",
|
|
"called": "Sent",
|
|
"sendFailed": "Couldn't send it",
|
|
"itemDeclined": "Item declined",
|
|
"orderDeclined": "Order declined",
|
|
"declineFailed": "Couldn't decline it",
|
|
"printSent": "Sent to the printer",
|
|
"printFailed": "Couldn't print",
|
|
"undone": "Undone",
|
|
"redone": "Redone",
|
|
"settingsSaved": "Settings saved"
|
|
},
|
|
"claim": {
|
|
"take": "I'm on it",
|
|
"release": "Let go",
|
|
"taken": "{{name}} is already on it",
|
|
"taken_by_me": "You're on it",
|
|
"released": "Let go"
|
|
}
|
|
}
|
|
}
|