|
@ -4,6 +4,7 @@ |
|
|
<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension"> |
|
|
<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension"> |
|
|
<xpath expr="//div[hasclass('pos-receipt')]" position="replace"> |
|
|
<xpath expr="//div[hasclass('pos-receipt')]" position="replace"> |
|
|
<div class="pos-receipt"> |
|
|
<div class="pos-receipt"> |
|
|
|
|
|
<t t-log="'isTrue',isTrue"/> |
|
|
<t t-if="isTrue"> |
|
|
<t t-if="isTrue"> |
|
|
<ReceiptHeader data="props.data.headerData"/> |
|
|
<ReceiptHeader data="props.data.headerData"/> |
|
|
<OrderWidget t-if="props.data.orderlines?.length" |
|
|
<OrderWidget t-if="props.data.orderlines?.length" |
|
@ -63,7 +64,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<!--1--> |
|
|
<div class="text-center">--------------------------------</div> |
|
|
<div class="text-center">--------------------------------</div> |
|
|
<div class="pos-receipt-amount receipt-total"> |
|
|
<div class="pos-receipt-amount receipt-total"> |
|
|
<t t-out="props.data.label_total"/> |
|
|
<t t-out="props.data.label_total"/> |
|
@ -78,7 +79,9 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="pos-receipt-amount receipt-to-pay"> |
|
|
<div class="pos-receipt-amount receipt-to-pay"> |
|
|
To Pay |
|
|
To Pay |
|
|
<span t-esc="props.formatCurrency(taxTotals.order_to_pay)" |
|
|
<t t-log="'props', props"/> |
|
|
|
|
|
<t t-log="'taxTotals.order_to_pay', taxTotals"/> |
|
|
|
|
|
<span t-esc="props.formatCurrency(taxTotals.total_amount_currency)" |
|
|
class="pos-receipt-right-align"/> |
|
|
class="pos-receipt-right-align"/> |
|
|
</div> |
|
|
</div> |
|
|
</t> |
|
|
</t> |
|
|