style: increase font sizes across pos closing receipt components for improved readability

This commit is contained in:
Suherdy Yacob 2026-06-03 15:03:02 +07:00
parent 36f9830c08
commit 03f6568998
4 changed files with 23 additions and 23 deletions

View File

@ -45,7 +45,7 @@
<t t-foreach="docs" t-as="session"> <t t-foreach="docs" t-as="session">
<t t-set="data" t-value="session.get_closing_summary_data()"/> <t t-set="data" t-value="session.get_closing_summary_data()"/>
<div style="font-family: 'Courier New', Courier, monospace; <div style="font-family: 'Courier New', Courier, monospace;
font-size: 18px; font-size: 24px;
width: 100%; width: 100%;
max-width: 320px; max-width: 320px;
margin: 0 auto; margin: 0 auto;
@ -54,14 +54,14 @@
<!-- ===== HEADER ===== --> <!-- ===== HEADER ===== -->
<div style="text-align: center; margin-bottom: 10px;"> <div style="text-align: center; margin-bottom: 10px;">
<div style="font-size: 24px; font-weight: bold; <div style="font-size: 32px; font-weight: bold;
letter-spacing: 1px; text-transform: uppercase;"> letter-spacing: 1px; text-transform: uppercase;">
<t t-esc="data['session_name']"/> <t t-esc="data['session_name']"/>
</div> </div>
<div style="margin-top: 4px; font-size: 15px; letter-spacing: 2px;"> <div style="margin-top: 4px; font-size: 20px; letter-spacing: 2px;">
SESSION CLOSING SUMMARY SESSION CLOSING SUMMARY
</div> </div>
<div style="margin-top: 2px; font-size: 13px; color: #666;"> <div style="margin-top: 2px; font-size: 18px; color: #666;">
(REPRINT) (REPRINT)
</div> </div>
</div> </div>
@ -78,7 +78,7 @@
</tr> </tr>
<tr> <tr>
<td style="font-weight: bold; padding: 5px 0;">Date/Time</td> <td style="font-weight: bold; padding: 5px 0;">Date/Time</td>
<td style="text-align: right; padding: 5px 0; font-size: 15px;"> <td style="text-align: right; padding: 5px 0; font-size: 20px;">
<t t-esc="data['closing_time']"/> <t t-esc="data['closing_time']"/>
</td> </td>
</tr> </tr>
@ -119,8 +119,8 @@
<!-- ===== GRAND TOTAL ===== --> <!-- ===== GRAND TOTAL ===== -->
<table style="width: 100%; border-collapse: collapse; margin-bottom: 8px;"> <table style="width: 100%; border-collapse: collapse; margin-bottom: 8px;">
<tr> <tr>
<td style="font-weight: bold; font-size: 20px; padding: 6px 0;">TOTAL</td> <td style="font-weight: bold; font-size: 28px; padding: 6px 0;">TOTAL</td>
<td style="text-align: right; font-weight: bold; font-size: 20px; padding: 6px 0;"> <td style="text-align: right; font-weight: bold; font-size: 28px; padding: 6px 0;">
<t t-esc="data['grand_total']" <t t-esc="data['grand_total']"
t-options="{'widget': 'monetary', 'display_currency': session.currency_id}"/> t-options="{'widget': 'monetary', 'display_currency': session.currency_id}"/>
</td> </td>
@ -131,7 +131,7 @@
<!-- ===== FOOTER ===== --> <!-- ===== FOOTER ===== -->
<div style="text-align: center; margin-top: 12px; <div style="text-align: center; margin-top: 12px;
font-size: 15px; letter-spacing: 1px;"> font-size: 20px; letter-spacing: 1px;">
*** Session Closed *** *** Session Closed ***
</div> </div>

View File

@ -1,6 +1,6 @@
.pos-closing-receipt-print { .pos-closing-receipt-print {
width: 512px; width: 512px;
font-size: 22px; font-size: 24px;
color: #000000; color: #000000;
} }

View File

@ -8,14 +8,14 @@
--> -->
<t t-name="pos_closing_receipt.ClosingReceipt"> <t t-name="pos_closing_receipt.ClosingReceipt">
<div class="pos-closing-receipt-print"> <div class="pos-closing-receipt-print">
<div class="pos-receipt" style="font-family: 'Courier New', Courier, monospace; font-size: 18px; width: 100%; max-width: 320px; margin: 0 auto; padding: 12px;"> <div class="pos-receipt" style="font-family: 'Courier New', Courier, monospace; font-size: 24px; width: 100%; max-width: 320px; margin: 0 auto; padding: 12px;">
<!-- ===== HEADER ===== --> <!-- ===== HEADER ===== -->
<div style="text-align: center; margin-bottom: 10px;"> <div style="text-align: center; margin-bottom: 10px;">
<div style="font-size: 24px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase;"> <div style="font-size: 32px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase;">
<t t-esc="props.sessionName"/> <t t-esc="props.sessionName"/>
</div> </div>
<div style="margin-top: 4px; font-size: 15px; letter-spacing: 2px;"> <div style="margin-top: 4px; font-size: 20px; letter-spacing: 2px;">
SESSION CLOSING SUMMARY SESSION CLOSING SUMMARY
</div> </div>
</div> </div>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td style="font-weight: bold; padding: 5px 0;">Date/Time</td> <td style="font-weight: bold; padding: 5px 0;">Date/Time</td>
<td style="text-align: right; padding: 5px 0; font-size: 15px;"> <td style="text-align: right; padding: 5px 0; font-size: 20px;">
<t t-esc="props.closingTime"/> <t t-esc="props.closingTime"/>
</td> </td>
</tr> </tr>
@ -72,8 +72,8 @@
<!-- ===== GRAND TOTAL ===== --> <!-- ===== GRAND TOTAL ===== -->
<table style="width: 100%; border-collapse: collapse; margin-bottom: 8px;"> <table style="width: 100%; border-collapse: collapse; margin-bottom: 8px;">
<tr> <tr>
<td style="font-weight: bold; font-size: 20px; padding: 6px 0;">TOTAL</td> <td style="font-weight: bold; font-size: 28px; padding: 6px 0;">TOTAL</td>
<td style="text-align: right; font-weight: bold; font-size: 20px; padding: 6px 0;"> <td style="text-align: right; font-weight: bold; font-size: 28px; padding: 6px 0;">
<t t-esc="props.grandTotal"/> <t t-esc="props.grandTotal"/>
</td> </td>
</tr> </tr>
@ -82,7 +82,7 @@
<div style="border-top: 1px dashed #000; margin: 8px 0;"/> <div style="border-top: 1px dashed #000; margin: 8px 0;"/>
<!-- ===== FOOTER ===== --> <!-- ===== FOOTER ===== -->
<div style="text-align: center; margin-top: 12px; font-size: 15px; letter-spacing: 1px;"> <div style="text-align: center; margin-top: 12px; font-size: 20px; letter-spacing: 1px;">
*** Session Closed *** *** Session Closed ***
</div> </div>

View File

@ -301,7 +301,7 @@ patch(Navbar.prototype, {
* { box-sizing: border-box; margin: 0; padding: 0; } * { box-sizing: border-box; margin: 0; padding: 0; }
body { body {
font-family: 'Courier New', Courier, monospace; font-family: 'Courier New', Courier, monospace;
font-size: 18px; font-size: 24px;
background: #fff; background: #fff;
color: #000; color: #000;
} }
@ -313,19 +313,19 @@ patch(Navbar.prototype, {
} }
.center { text-align: center; } .center { text-align: center; }
.header-title { .header-title {
font-size: 24px; font-size: 32px;
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
text-transform: uppercase; text-transform: uppercase;
} }
.header-sub { .header-sub {
margin-top: 4px; margin-top: 4px;
font-size: 15px; font-size: 20px;
letter-spacing: 2px; letter-spacing: 2px;
} }
.reprint-label { .reprint-label {
margin-top: 2px; margin-top: 2px;
font-size: 13px; font-size: 18px;
color: #666; color: #666;
} }
.dashed { border-top: 1px dashed #000; margin: 8px 0; } .dashed { border-top: 1px dashed #000; margin: 8px 0; }
@ -334,11 +334,11 @@ patch(Navbar.prototype, {
td { padding: 5px 0; } td { padding: 5px 0; }
.right { text-align: right; } .right { text-align: right; }
.bold { font-weight: bold; } .bold { font-weight: bold; }
.total-row td { font-weight: bold; font-size: 20px; padding: 6px 0; } .total-row td { font-weight: bold; font-size: 28px; padding: 6px 0; }
.footer { .footer {
text-align: center; text-align: center;
margin-top: 12px; margin-top: 12px;
font-size: 15px; font-size: 20px;
letter-spacing: 1px; letter-spacing: 1px;
} }
.feed { margin-top: 28px; } .feed { margin-top: 28px; }
@ -362,7 +362,7 @@ patch(Navbar.prototype, {
</tr> </tr>
<tr> <tr>
<td class="bold">Date/Time</td> <td class="bold">Date/Time</td>
<td class="right" style="font-size:15px;">${sessionData.closing_time}</td> <td class="right" style="font-size:20px;">${sessionData.closing_time}</td>
</tr> </tr>
</table> </table>
<div class="dashed"></div> <div class="dashed"></div>