Add ticket paper width selector and improve thermal cut/print layout
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user