1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="report_crossoveredbudget">
5 <t t-call="report.html_container">
6 <t t-foreach="docs" t-as="o">
7 <t t-call="report.internal_layout">
11 <div class="row mt32">
12 <div class="col-xs-3">
13 <strong>Analysis from:</strong>
14 <p><span t-esc="formatLang(data['form']['date_from'], date=True)"/> to
15 <span t-esc="formatLang(data['form']['date_to'], date=True)"/></p>
17 <div class="col-xs-3">
18 <strong>Budget:</strong>
21 <div class="col-xs-3">
22 <strong>Currency:</strong>
23 <p t-esc="res_company.currency_id.name"/>
27 <table class="table table-condensed">
31 <th class="text-right">Theoretical Amt</th>
32 <th class="text-right">Planned Amt</th>
33 <th class="text-right">Practical Amt</th>
34 <th class="text-center">Perc(%)</th>
38 <tr t-foreach="funct(o, data['form'])" t-as="line">
40 <span style="color: white;" t-esc="'... '*(line['status'] - 1)"/>
41 <span t-esc="line['name']"/>
43 <td class="text-right">
44 <span t-esc="formatLang(line['theo'], dp='Account', currency_obj=res_company.currency_id)"/>
46 <td class="text-right">
47 <span t-esc="formatLang(line['pln'], dp='Account', currency_obj=res_company.currency_id)"/>
49 <td class="text-right">
50 <span t-esc="formatLang(line['prac'], dp='Account', currency_obj=res_company.currency_id)"/>
52 <td class="text-center">
53 <span t-esc="formatLang(line['perc'],digits=2)"/> %
56 <tr t-foreach="funct_total(data['form'])" t-as="tot">
58 <strong>Total:</strong>
60 <td class="text-right">
61 <strong t-esc="formatLang(tot['tot_theo'], dp='Account', currency_obj=res_company.currency_id)"/>
63 <td class="text-right">
64 <strong t-esc="formatLang(tot['tot_pln'], dp='Account', currency_obj=res_company.currency_id)"/>
66 <td class="text-right">
67 <strong t-esc="formatLang(tot['tot_prac'], dp='Account', currency_obj=res_company.currency_id)"/>
69 <td class="text-center">
70 <strong t-esc="formatLang(tot['tot_perc'], digits=2)"/> %