.point-of-sale .pos-right-align {
text-align: right;
}
+.point-of-sale .pos-center-align {
+ text-align: center;
+}
.point-of-sale .pos-right-align input {
text-align: right;
border: 1px solid #cecbcb;
}
@media print {
+ .point-of-sale{
+ background: white !important;
+ }
.point-of-sale #topheader, .point-of-sale #leftpane {
display: none !important;
}
.pos-actionbar {
display: none !important;
}
- .pos-sale-ticket {
- margin: 0;
- }
.debug-widget{
display: none !important;
}
background: transparent !important;
}
.point-of-sale .pos-sale-ticket{
+ margin: 0;
margin-left: auto !important;
margin-right: auto !important;
- border: solid 1px black !important;
+ border: none !important;
+ font-size: 13px !important;
+ width: 266px !important;
}
}
<t t-name="PosTicket">
<div class="pos-sale-ticket">
- <div class="pos-right-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
+ <div class="pos-center-align"><t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
Date.CultureInfo.formatPatterns.longTime)"/> <t t-esc="widget.currentOrder.attributes.name"/></div>
<br />
<t t-esc="widget.company.name"/><br />