summaryrefslogtreecommitdiff
path: root/addons/pos_mercury/static/src/xml/OrderReceipt.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/pos_mercury/static/src/xml/OrderReceipt.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/pos_mercury/static/src/xml/OrderReceipt.xml')
-rw-r--r--addons/pos_mercury/static/src/xml/OrderReceipt.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/addons/pos_mercury/static/src/xml/OrderReceipt.xml b/addons/pos_mercury/static/src/xml/OrderReceipt.xml
new file mode 100644
index 00000000..014884c0
--- /dev/null
+++ b/addons/pos_mercury/static/src/xml/OrderReceipt.xml
@@ -0,0 +1,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>