mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] pos_pax: Rewrite for Odoo 14.0 + Owl
This commit is contained in:
17
pos_pax/static/src/xml/OrderReceipt.xml
Normal file
17
pos_pax/static/src/xml/OrderReceipt.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="pos_pax.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.pax_approval">
|
||||
<div class="pos-receipt-left-padding">
|
||||
<span>APPROVAL CODE: </span>
|
||||
<span>
|
||||
<t t-esc="line.pax_approval" />
|
||||
</span>
|
||||
</div>
|
||||
</t>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user