Add ticket paper width selector and improve thermal cut/print layout
Some checks failed
CI / lint-and-test (3.11) (push) Has been cancelled
CI / lint-and-test (3.13) (push) Has been cancelled

This commit is contained in:
2026-07-18 09:22:58 +00:00
parent f0c605f911
commit 8e6c1f2887
5 changed files with 35 additions and 16 deletions

View File

@@ -503,6 +503,7 @@ const Config = (() => {
setVal('receipt-rfc', d.rfc);
setVal('receipt-address', d.address);
setVal('receipt-phone', d.phone);
setVal('receipt-paper-width', d.paper_width || '80');
setVal('receipt-thanks', d.thanks_message);
setVal('receipt-footer', d.footer);
setChecked('receipt-show-logo', d.show_logo);
@@ -588,6 +589,7 @@ const Config = (() => {
rfc: getVal('receipt-rfc'),
address: getVal('receipt-address'),
phone: getVal('receipt-phone'),
paper_width: getVal('receipt-paper-width') || '80',
thanks_message: getVal('receipt-thanks'),
footer: getVal('receipt-footer'),
show_logo: getChecked('receipt-show-logo'),