diff --git a/__manifest__.py b/__manifest__.py index 01a8a05..b6246cc 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'POS Closing Receipt Printer', - 'version': '19.0.1.3.1', + 'version': '19.0.1.3.2', 'category': 'Point of Sale', 'summary': 'Print payment summary receipt when closing a POS session, with reprint from backend', 'description': """ diff --git a/report/pos_closing_summary_report.xml b/report/pos_closing_summary_report.xml index 27c2c0c..3bd7f31 100644 --- a/report/pos_closing_summary_report.xml +++ b/report/pos_closing_summary_report.xml @@ -45,7 +45,7 @@
-
-
+
SESSION CLOSING SUMMARY
-
+
(REPRINT)
-
+
- +
- - + - - +
Cashier + Cashier
Date/Time + Date/Time
-
+
- +
- - @@ -103,10 +103,10 @@ - - @@ -114,29 +114,29 @@
+ +
+ +
-
+
- - +
TOTAL + TOTAL
-
+
-
+
*** Session Closed ***
-
 
+
 
diff --git a/static/src/app/closing_receipt.xml b/static/src/app/closing_receipt.xml index 3f4aa6d..54e61da 100644 --- a/static/src/app/closing_receipt.xml +++ b/static/src/app/closing_receipt.xml @@ -8,47 +8,47 @@ -->
-
+
-
+
-
+
SESSION CLOSING SUMMARY
-
+
- +
- - + - - +
Cashier + Cashier
Date/Time + Date/Time
-
+
- +
- - @@ -57,37 +57,37 @@ - -
+ +
+ +
-
+
- - +
TOTAL + TOTAL
-
+
-
+
*** Session Closed ***
-
 
+
 
diff --git a/static/src/app/closing_receipt_patch.js b/static/src/app/closing_receipt_patch.js index ed64552..4eac328 100644 --- a/static/src/app/closing_receipt_patch.js +++ b/static/src/app/closing_receipt_patch.js @@ -256,7 +256,7 @@ patch(Navbar.prototype, { * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Courier New', Courier, monospace; - font-size: 13px; + font-size: 18px; background: #fff; color: #000; } @@ -268,37 +268,37 @@ patch(Navbar.prototype, { } .center { text-align: center; } .header-title { - font-size: 16px; + font-size: 24px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; } .header-sub { margin-top: 4px; - font-size: 11px; + font-size: 15px; letter-spacing: 2px; } .reprint-label { margin-top: 2px; - font-size: 10px; + font-size: 13px; color: #666; } - .dashed { border-top: 1px dashed #000; margin: 6px 0; } - .solid { border-top: 1px solid #000; margin: 6px 0; } - table { width: 100%; border-collapse: collapse; margin-bottom: 6px; } - td { padding: 3px 0; } + .dashed { border-top: 1px dashed #000; margin: 8px 0; } + .solid { border-top: 1px solid #000; margin: 8px 0; } + table { width: 100%; border-collapse: collapse; margin-bottom: 8px; } + td { padding: 5px 0; } .right { text-align: right; } .bold { font-weight: bold; } - .total-row td { font-weight: bold; font-size: 14px; padding: 4px 0; } + .total-row td { font-weight: bold; font-size: 20px; padding: 6px 0; } .footer { text-align: center; - margin-top: 10px; - font-size: 11px; + margin-top: 12px; + font-size: 15px; letter-spacing: 1px; } - .feed { margin-top: 24px; } + .feed { margin-top: 28px; } @media print { - @page { margin: 3mm; } + @page { size: 80mm auto; margin: 3mm; } } @@ -317,7 +317,7 @@ patch(Navbar.prototype, { Date/Time - ${sessionData.closing_time} + ${sessionData.closing_time}