summaryrefslogtreecommitdiff
path: root/addons/pos_mercury/static/src/xml/OrderReceipt.xml
blob: 014884c0a00501bf1ee139cab96db5da6904dd3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">

    <t t-name="pos_mercury.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
        <xpath expr="//t[@t-foreach='receipt.paymentlines']" position="inside">
            <t t-if="line.mercury_data">
                <div class="pos-receipt-left-padding">
                    <span>APPROVAL CODE: </span>
                    <span>
                        <t t-esc="line.mercury_auth_code" />
                    </span>
                </div>
            </t>
        </xpath>
        <xpath expr="//div[hasclass('pos-receipt-order-data')]" position="after">
            <div t-if="hasPosMercurySignature">
                <br />
                <div>CARDHOLDER WILL PAY CARD ISSUER</div>
                <div>ABOVE AMOUNT PURSUANT</div>
                <div>TO CARDHOLDER AGREEMENT</div>
                <br />
                <br />
                <div>X______________________________</div>
            </div>
        </xpath>
    </t>

</templates>