31 lines
990 B
XML
31 lines
990 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<templates id="template" xml:space="preserve">
|
|
<t
|
|
t-name="OrderReceipt"
|
|
t-inherit="point_of_sale.OrderReceipt"
|
|
t-inherit-mode="extension"
|
|
owl="1"
|
|
>
|
|
|
|
<xpath
|
|
expr="//t[@t-if='!receipt.header_html and receipt.header']"
|
|
position="after"
|
|
>
|
|
<t t-if="env.pos.config.receipt_environment_header">
|
|
<div style="white-space:pre-line"><t
|
|
t-esc="env.pos.config.receipt_environment_header"
|
|
/></div>
|
|
</t>
|
|
</xpath>
|
|
|
|
<xpath expr="//div[@class='after-footer']" position="before">
|
|
<t t-if="env.pos.config.receipt_environment_footer">
|
|
<div class="pos-receipt-order-data" style="white-space:pre-line"><t
|
|
t-esc="env.pos.config.receipt_environment_footer"
|
|
/></div>
|
|
</t>
|
|
</xpath>
|
|
|
|
</t>
|
|
</templates>
|