blob: ab6e4cb280bb91b76537dd7ba6fe1dbe5c35724b (
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
|
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
<t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('orderlines')]" position="before">
<t t-if="receipt.client and env.pos.company.country and env.pos.company.country.code == 'IN'">
<div class="pos-receipt-center-align">
<div><t t-esc="receipt.client.name" /></div>
<t t-if="receipt.client.phone">
<div>
<span>Phone: </span>
<t t-esc="receipt.client.phone" />
</div>
</t>
<br />
</div>
</t>
</xpath>
<xpath expr="//WrappedProductNameLines" position="after">
<t t-if="line.l10n_in_hsn_code and env.pos.company.country and env.pos.company.country.code == 'IN'">
<div class="pos-receipt-left-padding">
<span>HSN Code: </span>
<t t-esc="line.l10n_in_hsn_code"/>
</div>
</t>
</xpath>
</t>
</templates>
|