<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
    <t t-inherit="point_of_sale.ReceiptHeader" t-inherit-mode="extension">
        <xpath expr="//img[hasclass('pos-receipt-logo')]" position="after">
            <t t-if="props.data.is_gcc_country and !props.data.is_settlement">
                <img t-if="props.data.qr_code" id="qrcode" t-att-src="props.data.qr_code" class="pos-receipt-qrcode"/>
                <br/>
            </t>
        </xpath>

        <xpath expr="//span[@id='title_english']" position="replace">
            <t t-if="!props.data.is_settlement">
                <span id="title_english">Simplified Tax Invoice</span>
            </t>
        </xpath>

        <xpath expr="//span[@id='title_arabic']" position="replace">
            <t t-if="!props.data.is_settlement">
                <span id="title_arabic">فاتورة ضريبية مبسطة</span>
            </t>
        </xpath>
    </t>
</templates>
