portal_templates.xml
3.29 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="portal_idg_boards">
<t t-call="website.layout">
<t t-set="title">IDG Tax Dashboard</t>
<div class="row">
<div class="col-sm-6">
<h2>IDG Province Potency#</h2>
<t t-call="portal.portal_table">
<thead>
<tr class="active">
<th class="text-left">Tax Category</th>
<th class="text-right">Qty</th>
<th class="text-right">Amount</th>
</tr>
</thead>
<tbody>
<t t-foreach="province_taxs" t-as="tax">
<tr>
<td>
<a t-att-href="tax.get_portal_url()">
<t t-esc="tax.account_group_id.name"/>
</a>
</td>
<td class="text-right">
<span t-field="tax.qty"/>
</td>
<td class="text-right">
<span t-field="tax.amount"/>
</td>
</tr>
</t>
</tbody>
</t>
</div>
<div class="col-sm-6">
<h2>IDG District Potency #</h2>
<t t-call="portal.portal_table">
<thead>
<tr class="active">
<th class="text-left">Tax Category</th>
<th class="text-right">Qty</th>
<th class="text-right">Amount</th>
</tr>
</thead>
<tbody>
<t t-foreach="district_taxs" t-as="tax">
<tr>
<td>
<a t-att-href="tax.get_portal_url()">
<t t-esc="tax.account_group_id.name"/>
</a>
</td>
<td class="text-right">
<span t-field="tax.qty"/>
</td>
<td class="text-right">
<span t-field="tax.amount"/>
</td>
</tr>
</t>
</tbody>
</t>
</div>
</div>
</t>
</template>
</data>
</openerp>