|
|
|
@ -5,6 +5,9 @@ |
|
|
|
<xpath expr="//div[hasclass('pos-receipt')]" position="replace"> |
|
|
|
<div class="pos-receipt"> |
|
|
|
<t t-if="isTrue"> |
|
|
|
<t t-component="templateComponent" t-props="templateProps"/> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<ReceiptHeader data="props.data.headerData"/> |
|
|
|
<OrderWidget t-if="props.data.orderlines?.length" |
|
|
|
lines="props.data.orderlines" |
|
|
|
@ -61,7 +64,7 @@ |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
<!--1--> |
|
|
|
<!--1--> |
|
|
|
<div class="text-center">--------------------------------</div> |
|
|
|
<t t-if="taxTotals and taxTotals.order_total !== undefined"> |
|
|
|
<div class="pos-receipt-amount receipt-total"> |
|
|
|
@ -165,9 +168,6 @@ |
|
|
|
<div id="order-date" t-esc="props.data.date"/> |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-component="templateComponent" t-props="templateProps"/> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</xpath> |
|
|
|
</t> |
|
|
|
|