Added Printer Spoofer for testing purposes

This commit is contained in:
2026-04-29 16:45:09 +03:00
parent bb39088464
commit 240abb2e73
7 changed files with 138 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ VALID_SETTINGS = {
"business_day.force_close_allowed": "Allow force-closing business day with open tables",
"system.timezone": "IANA timezone name used by the backend container (e.g. Europe/Athens). Requires container restart to take effect.",
"ui.table_colours": "JSON blob of table card colour scheme (light + dark modes) for the Waiter PWA.",
"dev.spoof_printing": "When enabled, all print jobs are silently dropped. Devices behave as if printing succeeded.",
}
DEFAULTS = {
@@ -24,6 +25,7 @@ DEFAULTS = {
"business_day.force_close_allowed": "true",
"system.timezone": "Europe/Athens",
"ui.table_colours": "",
"dev.spoof_printing": "false",
}