Debian Codegraph @

addons/l10n_fr_pos_cert/static/src/xml/OrderReceipt.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <templates id="template" xml:space="preserve">
3 <t t-name="l10n_fr_pos_cert.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
4 <xpath expr="//div[hasclass('before-footer')]" position="inside">
5 <t t-if="order.l10n_fr_hash !== false">
6 <div class="text-break pt-3"><t t-out="order.l10n_fr_hash"/></div>
7 </t>
8 </xpath>
9 </t>
10
11 <t t-name="l10n_fr_pos_cert.OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension">
12 <xpath expr="//Orderline" position="inside">
13 <t t-if="line.order_id.l10n_fr_hash !== false and line.price_type === 'manual' and !props.basic_receipt">
14 <div class="pos-receipt-right-padding">
15 Old unit price:
16 <span class="oldPrice">
17 <s>
18 <t t-out="line.product_id.displayPriceUnit" /> / Units
19 </s>
20 </span>
21 </div>
22 </t>
23 </xpath>
24 </t>
25 </templates>