feat: printing problems shown and handled; printing set-up on v2 (platform-v2 step 6.10)
- 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>
This commit is contained in:
@@ -260,7 +260,8 @@
|
||||
},
|
||||
"print_job": {
|
||||
"not_found": "Αυτή η εκτύπωση δεν υπάρχει πια.",
|
||||
"not_pending": "Ακυρώνονται μόνο εκτυπώσεις που περιμένουν ακόμη."
|
||||
"not_pending": "Ακυρώνονται μόνο εκτυπώσεις που περιμένουν ακόμη.",
|
||||
"done": "Αυτό το δελτίο δεν περιμένει πια: τυπώθηκε ή το χειρίστηκε κάποιος σε άλλη οθόνη."
|
||||
},
|
||||
"table": {
|
||||
"not_found": "Το τραπέζι δεν βρέθηκε.",
|
||||
@@ -337,5 +338,9 @@
|
||||
"bad_zone": "Αυτή η ζώνη δεν υπάρχει πια.",
|
||||
"bad_background": "Το φόντο πρέπει να είναι εικόνα από τη βιβλιοθήκη πολυμέσων.",
|
||||
"bad_layout": "Η διάταξη έχει ένα τραπέζι δύο φορές ή μια θέση που δεν είναι αριθμός."
|
||||
},
|
||||
"print": {
|
||||
"printer_off": "Ο εκτυπωτής {{printer}} είναι απενεργοποιημένος στις ρυθμίσεις.",
|
||||
"redirect_failed": "Ούτε ο {{printer}} το τύπωσε ({{error}}). Το δελτίο περιμένει ακόμα."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user