- a ticket that doesn't print is a problem for whoever sent it and the managers: GET /api/print-problems (the order, table, dishes, printer, since when, tries, last error, who sent it) and three ways out: print again, send to another printer, handled (services/print_problems.py; print_jobs.resolved_by / redirected_to, Alembic 0036); live event print.problems from the print paths - phone: the red printer button opens the problems sheet, the table page warns (usePrintProblems replaces the 8 s poll); counter POS: a red button under the modes with the shared panel (@xenia/ordering PrintProblemsPanel + pure rules); manager: a card on the overview (top), the Tables page and the order page - manager: Settings -> Printing (printers with reachability, test print, network scan; ticket layout + test ticket, beep, fonts with previews, dot leader, dividers) and Management -> Prep zones (cards + zone dialog with the ticket language, printers, copies, sorting, category order, kitchen screen) rebuilt in src/pages/printing; v1 PrintFontsTab, PrepZonesConfigPage, PendingPrints and /api/orders/pending-prints removed - access: printer add/edit/delete/scan need core.settings.manage, prep zone changes catalog.menu.manage (were any dashboard user) - tests: test_print_problems.py, @xenia/ordering printProblems, manager printing.test.mjs, e2e print_problems.mjs (done-when) + manager.mjs printing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
766 B
JSON
27 lines
766 B
JSON
{
|
|
"name": "@xenia/ordering",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "A product's choices and the cart's rules as lines the server prices (plan steps 3.3a, 6.9): the product dialog, the quote hook and the pure cart rules, shared by the counter POS, the menu tablet and the manager.",
|
|
"main": "src/index.js",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./cart": "./src/cart.js",
|
|
"./printProblems": "./src/printProblems.js"
|
|
},
|
|
"dependencies": {
|
|
"@xenia/access": "^0.0.0",
|
|
"@xenia/i18n": "^0.0.0",
|
|
"@xenia/ui": "^0.0.0",
|
|
"lucide-react": "^1.73.0",
|
|
"@xenia/api": "^0.0.0"
|
|
},
|
|
"scripts": {
|
|
"test": "node --test \"tests/*.test.mjs\""
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.0.0"
|
|
}
|
|
}
|