Files
xenia-pos-local/local_backend/core/i18n/en.json
T
bonaminandClaude Opus 5.5 096bd53dbd feat(backend,manager): the business day opens and closes by itself (opening hours, a time, or only an alert)
- services/day_auto.py: a minute loop (venue time, offline) opens the day when the opening
  hours start (or at business_day.auto_open_time) and closes it when they end (or at
  auto_close_time); 'alert' only tells the managers. Offsets before / after, one day across
  the break or one per span, spans past midnight belong to the day they start, a day closed
  by hand isn't reopened in the same span, a restart catches up the open (until the business
  date changes for 'time') and alerts a missed close instead of doing it late.
- The close runs only when no order of the day is unclosed (Q-10): otherwise a sticky alert
  and a new try every 15 minutes. A locked / expired license turns the open into an alert.
- Sticky notifications: notifications.resolved_at + core.notifications.resolve(); the
  alerts resolve when the day opens / closes (by hand or by itself).
- services/business_days.py: the one open / close path (the routes and the loop); days opened
  or closed by the system have no opener / closer and opened_auto / closed_auto (Alembic 0052).
- Manager: Settings -> Operation "Opening and closing the day"; the bell's action buttons
  ("Open now", "Go to the overview"); Reports -> Days marks days opened / closed by itself.

Plan platform-v2 6F.8.

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

120 lines
4.2 KiB
JSON

{
"print": {
"aligned": {
"order": "Order: #{value}",
"table": "Table: {value}",
"time": "Time: {value}"
},
"cancel": {
"banner": "*** CANCELLED ***"
},
"receipt": {
"closed": "Closed: {value}",
"opened": "Opened: {value}",
"order_title": "ORDER #{value}"
},
"report": {
"avg_duration": "Avg. duration: {minutes:.0f} min",
"categories_title": "CATEGORY REPORT",
"details": "DETAILS",
"from": "From: {value}",
"grand_total": "ALL PRINTERS",
"items": "Items: {value}",
"orders": "Orders: {value}",
"pct_revenue": "% revenue",
"pct_units": "% units",
"period": "Period: {value}",
"prep_zone_title": "PREP ZONE",
"print_jobs": "Print jobs: {value}",
"printer": "Printer: {value}",
"printer_title": "PRINTER REPORT",
"product_breakdown": "PRODUCT BREAKDOWN",
"product_shares": "{revenue:.2f}e | {rev}% rev. {qty}% qty",
"products_full_title": "FULL PRODUCT BREAKDOWN",
"products_title": "PRODUCT REPORT",
"qty_units": "{value} pcs",
"revenue": "Revenue",
"table": "Table: {value}",
"table_orders_avg": "{count} ord. / avg {avg:.2f}e",
"tables_title": "TABLE REPORT",
"to": "To: {value}",
"total": "TOTAL: {value:.2f}e",
"total_items": "Total items: {value}",
"total_qty": "Total qty: {value}",
"units": "Units",
"value": "Value: {value:.2f}e",
"value_caps": "VALUE: {value:.2f}e",
"waiter": "Waiter: {value}",
"waiter_title": "WAITER REPORT",
"workday": "Workday: {value}"
},
"synopsis": {
"paid": "PAID:",
"paid_total": "Paid: {value:.2f}e",
"pending": "PENDING:",
"remaining": "Remaining: {value:.2f}e",
"title": "ORDER SUMMARY",
"split": "SPLIT BILL (SETTLED BY THE PARTS):"
},
"ticket": {
"compact_guests": " | {count}pax",
"compact_header": "Ord. #{order} | Tbl {table} | {time} | {waiter}",
"date_label": "Date:",
"end": "End of order",
"guests_label": "Guests:",
"note": "Note: {note}",
"order_title": "Order #{order}",
"table_label": "Table:",
"table_value": "Table {table}",
"waiter_label": "Waiter:",
"without": "NO:",
"for_label": "For:",
"asap": "As soon as possible",
"online_label": "Online:",
"type": {
"delivery": "Delivery",
"takeaway": "Takeaway",
"dine_in": "Table",
"preorder": "Pre-order"
}
}
},
"notification": {
"license": {
"limit_reached": "License limit reached: {module} allows {max} {limit}. Upgrade the license to add more.",
"expiring": "The license expires in {days} days ({expires_at}). Renew it to keep every feature."
},
"support": {
"access_used": "Xenia support logged in to this venue (from {ip})."
},
"print": {
"failed_final": "A ticket for order #{order_id} never printed on {printer} ({attempts} attempts).",
"failing": "A ticket for order #{order_id} hasn't printed on {printer} yet (failed attempts so far: {attempts}; still retrying). Check the printer."
},
"business_day": {
"not_open": "It's {time} and the day isn't open.",
"open_blocked": "The day didn't open by itself at {time}: the license doesn't allow it ({reason}).",
"tables_open": "It's closing time ({time}) but {count} orders are still open. The day closes by itself once they are closed.",
"not_closed": "The day should have closed at {time} and is still open."
}
},
"system_product": {
"delivery_fee": "Delivery fee",
"split_part": "Split bill"
},
"qr": {
"order_message": "Table {table}: new order from the QR menu ({count} items), sent to the kitchen.",
"sender": "QR menu"
},
"tablet": {
"call_message": "Table {table}: the guests call a waiter.",
"sender": "Menu tablet",
"order_sent": "Table {table} ordered from the tablet ({count} items): sent to the kitchen.",
"order_waiting": "Table {table} ordered from the tablet ({count} items): confirm it on the table.",
"bill_message": "Table {table}: the guests ask for the bill."
},
"split": {
"part_name": "Split bill {n}/{of}"
}
}