Files
xenia-pos-local/packages/i18n/locales/en/terminal.json
T
bonaminandClaude Opus 5.5 bff82a332a feat(terminal): quick sale at the counter: cash/card/split, change, cash drawer, fiscal (platform-v2 3.3b)
- POST /api/pos/sales: all checks first (shift, lines, payment split, cash given,
  discount → ordering.prices.modify or manager approval, fiscal VAT groups), then the
  existing open_order / add_items / pay_items functions, so tickets, KDS, price events,
  shift totals and the fiscal receipt work as for any order.
- Cash drawer: printer_service.open_cash_drawer (ESC @ + ESC p 0 25 250) to the screen's
  receipt printer on cash, logged and audited (DRAWER_OPENED / DRAWER_FAILED).
- orders._can_access_order: the people assigned to an order may act on it (a cashier's
  own takeaway order); pos_cart prices a batch with the lines before it, as add_items does.
- Terminal: Charge → payment dialog (exact cash pre-selected, quick amounts, change,
  card, split by line), per-line discounts, sale summary and "Same again".
- Tests: backend +6 (socket printer receives the drawer kick, fiscal file in the bridge
  folder), terminal unit +1, terminal.mjs +9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 00:28:33 +02:00

243 lines
7.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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"
}
},
"pos": {
"allProducts": "All products",
"search": "Search products",
"clearSearch": "Clear the search",
"noResults": "Nothing matches “{{query}}”",
"noProducts": "No products here",
"orderType": "Order type",
"type": {
"takeaway": "Takeaway",
"here": "Eat in"
},
"cartEmpty": "The cart is empty",
"cartEmptyBody": "Tap a product to add it. The (i) button shows its price without adding it.",
"total": "Total",
"clearCart": "Clear the cart",
"quoteFailed": "Couldn't price the cart. Check the choices and try again.",
"checkPrice": "Price and details of {{name}}",
"less": "One less",
"more": "One more",
"each": "{{price}} each",
"dialog": {
"close": "Close",
"add": "Add to cart",
"pickOne": "choose one",
"quick": "Add-ons",
"extras": "Extras",
"without": "Without",
"note": "Note for the kitchen",
"quantity": "Quantity",
"missing": "Still to choose: {{list}}"
},
"gate": {
"dayClosed": "The business day isn't open",
"dayOpeners": "Ask someone who can open it: {{names}}.",
"dayOpenersNone": "Nobody here can open it yet; set it up in the manager.",
"noShift": "You don't have a shift running",
"askManager": "Ask a manager to start your shift, then try again.",
"startTitle": "Start your shift",
"startBody": "The cash you take at this counter goes to your shift.",
"startingCash": "Cash in the drawer now",
"badAmount": "Enter an amount, e.g. 50 or 50,00",
"start": "Start shift"
},
"charge": "Charge {{total}}",
"discount": "Discount",
"noDiscount": "No discount",
"discountNeedsApproval": "A discount needs a manager's approval when you charge.",
"discountLine": "−{{pct}}%: {{amount}} each",
"pay": {
"title": "Payment: {{total}}",
"method": "Payment method",
"cash": "Cash",
"card": "Card",
"split": "Split",
"confirmCash": "Take {{amount}} in cash",
"confirmCard": "Paid {{amount}} by card",
"confirmSplit": "Take the payment",
"cashPart": "Cash: {{amount}}",
"cardPart": "Card: {{amount}}",
"cardHint": "Enter {{amount}} on the card terminal, then confirm here once it's approved.",
"given": "Cash given",
"exact": "Exact: {{amount}}",
"change": "Change: {{amount}}",
"short": "That's less than the amount due"
},
"done": {
"paid": "Paid {{total}}",
"cash": "Cash {{amount}}",
"card": "Card {{amount}}",
"drawerOpened": "Drawer opened",
"drawerFailed": "The drawer didn't open",
"fiscal": "Receipt sent to the fiscal device",
"again": "Same again",
"toast": "Paid",
"toastChange": "Paid. Change: {{change}}"
}
}
}