style: increase font sizes across all POS closing receipt templates and styles
This commit is contained in:
parent
03f6568998
commit
627c8300a8
@ -45,7 +45,7 @@
|
||||
<t t-foreach="docs" t-as="session">
|
||||
<t t-set="data" t-value="session.get_closing_summary_data()"/>
|
||||
<div style="font-family: 'Courier New', Courier, monospace;
|
||||
font-size: 24px;
|
||||
font-size: 28px;
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
margin: 0 auto;
|
||||
@ -54,14 +54,14 @@
|
||||
|
||||
<!-- ===== HEADER ===== -->
|
||||
<div style="text-align: center; margin-bottom: 10px;">
|
||||
<div style="font-size: 32px; font-weight: bold;
|
||||
<div style="font-size: 36px; font-weight: bold;
|
||||
letter-spacing: 1px; text-transform: uppercase;">
|
||||
<t t-esc="data['session_name']"/>
|
||||
</div>
|
||||
<div style="margin-top: 4px; font-size: 20px; letter-spacing: 2px;">
|
||||
<div style="margin-top: 4px; font-size: 24px; letter-spacing: 2px;">
|
||||
SESSION CLOSING SUMMARY
|
||||
</div>
|
||||
<div style="margin-top: 2px; font-size: 18px; color: #666;">
|
||||
<div style="margin-top: 2px; font-size: 22px; color: #666;">
|
||||
(REPRINT)
|
||||
</div>
|
||||
</div>
|
||||
@ -78,7 +78,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: bold; padding: 5px 0;">Date/Time</td>
|
||||
<td style="text-align: right; padding: 5px 0; font-size: 20px;">
|
||||
<td style="text-align: right; padding: 5px 0; font-size: 24px;">
|
||||
<t t-esc="data['closing_time']"/>
|
||||
</td>
|
||||
</tr>
|
||||
@ -119,8 +119,8 @@
|
||||
<!-- ===== GRAND TOTAL ===== -->
|
||||
<table style="width: 100%; border-collapse: collapse; margin-bottom: 8px;">
|
||||
<tr>
|
||||
<td style="font-weight: bold; font-size: 28px; padding: 6px 0;">TOTAL</td>
|
||||
<td style="text-align: right; font-weight: bold; font-size: 28px; padding: 6px 0;">
|
||||
<td style="font-weight: bold; font-size: 32px; padding: 6px 0;">TOTAL</td>
|
||||
<td style="text-align: right; font-weight: bold; font-size: 32px; padding: 6px 0;">
|
||||
<t t-esc="data['grand_total']"
|
||||
t-options="{'widget': 'monetary', 'display_currency': session.currency_id}"/>
|
||||
</td>
|
||||
@ -131,7 +131,7 @@
|
||||
|
||||
<!-- ===== FOOTER ===== -->
|
||||
<div style="text-align: center; margin-top: 12px;
|
||||
font-size: 20px; letter-spacing: 1px;">
|
||||
font-size: 24px; letter-spacing: 1px;">
|
||||
*** Session Closed ***
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
.pos-closing-receipt-print {
|
||||
width: 512px;
|
||||
font-size: 24px;
|
||||
font-size: 28px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
|
||||
@ -8,14 +8,14 @@
|
||||
-->
|
||||
<t t-name="pos_closing_receipt.ClosingReceipt">
|
||||
<div class="pos-closing-receipt-print">
|
||||
<div class="pos-receipt" style="font-family: 'Courier New', Courier, monospace; font-size: 24px; width: 100%; max-width: 320px; margin: 0 auto; padding: 12px;">
|
||||
<div class="pos-receipt" style="font-family: 'Courier New', Courier, monospace; font-size: 28px; width: 100%; max-width: 320px; margin: 0 auto; padding: 12px;">
|
||||
|
||||
<!-- ===== HEADER ===== -->
|
||||
<div style="text-align: center; margin-bottom: 10px;">
|
||||
<div style="font-size: 32px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase;">
|
||||
<div style="font-size: 36px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase;">
|
||||
<t t-esc="props.sessionName"/>
|
||||
</div>
|
||||
<div style="margin-top: 4px; font-size: 20px; letter-spacing: 2px;">
|
||||
<div style="margin-top: 4px; font-size: 24px; letter-spacing: 2px;">
|
||||
SESSION CLOSING SUMMARY
|
||||
</div>
|
||||
</div>
|
||||
@ -32,7 +32,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: bold; padding: 5px 0;">Date/Time</td>
|
||||
<td style="text-align: right; padding: 5px 0; font-size: 20px;">
|
||||
<td style="text-align: right; padding: 5px 0; font-size: 24px;">
|
||||
<t t-esc="props.closingTime"/>
|
||||
</td>
|
||||
</tr>
|
||||
@ -72,8 +72,8 @@
|
||||
<!-- ===== GRAND TOTAL ===== -->
|
||||
<table style="width: 100%; border-collapse: collapse; margin-bottom: 8px;">
|
||||
<tr>
|
||||
<td style="font-weight: bold; font-size: 28px; padding: 6px 0;">TOTAL</td>
|
||||
<td style="text-align: right; font-weight: bold; font-size: 28px; padding: 6px 0;">
|
||||
<td style="font-weight: bold; font-size: 32px; padding: 6px 0;">TOTAL</td>
|
||||
<td style="text-align: right; font-weight: bold; font-size: 32px; padding: 6px 0;">
|
||||
<t t-esc="props.grandTotal"/>
|
||||
</td>
|
||||
</tr>
|
||||
@ -82,7 +82,7 @@
|
||||
<div style="border-top: 1px dashed #000; margin: 8px 0;"/>
|
||||
|
||||
<!-- ===== FOOTER ===== -->
|
||||
<div style="text-align: center; margin-top: 12px; font-size: 20px; letter-spacing: 1px;">
|
||||
<div style="text-align: center; margin-top: 12px; font-size: 24px; letter-spacing: 1px;">
|
||||
*** Session Closed ***
|
||||
</div>
|
||||
|
||||
|
||||
@ -301,7 +301,7 @@ patch(Navbar.prototype, {
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
font-size: 24px;
|
||||
font-size: 28px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
@ -313,19 +313,19 @@ patch(Navbar.prototype, {
|
||||
}
|
||||
.center { text-align: center; }
|
||||
.header-title {
|
||||
font-size: 32px;
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.header-sub {
|
||||
margin-top: 4px;
|
||||
font-size: 20px;
|
||||
font-size: 24px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
.reprint-label {
|
||||
margin-top: 2px;
|
||||
font-size: 18px;
|
||||
font-size: 22px;
|
||||
color: #666;
|
||||
}
|
||||
.dashed { border-top: 1px dashed #000; margin: 8px 0; }
|
||||
@ -334,11 +334,11 @@ patch(Navbar.prototype, {
|
||||
td { padding: 5px 0; }
|
||||
.right { text-align: right; }
|
||||
.bold { font-weight: bold; }
|
||||
.total-row td { font-weight: bold; font-size: 28px; padding: 6px 0; }
|
||||
.total-row td { font-weight: bold; font-size: 32px; padding: 6px 0; }
|
||||
.footer {
|
||||
text-align: center;
|
||||
margin-top: 12px;
|
||||
font-size: 20px;
|
||||
font-size: 24px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.feed { margin-top: 28px; }
|
||||
@ -362,7 +362,7 @@ patch(Navbar.prototype, {
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bold">Date/Time</td>
|
||||
<td class="right" style="font-size:20px;">${sessionData.closing_time}</td>
|
||||
<td class="right" style="font-size:24px;">${sessionData.closing_time}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="dashed"></div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user