<?xml version="1.0" encoding="utf-8"?>
<!--Inherit point_of_sale.OrderReceipt for getting our custom receipt design-->
<templates id="template" xml:space="preserve">
    <t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
        <xpath expr="//div[hasclass('pos-receipt')]" position="attributes">
            <attribute name="t-if">isTrue</attribute>
        </xpath>
        <xpath expr="//div[hasclass('pos-receipt')]" position="after">
            <t t-else="">
                <t t-component="templateComponent" t-props="templateProps"/>
            </t>
        </xpath>
    </t>
</templates>
