Browse Source

[IMP] mis_builder: improve alignment with css class on pdf report

pull/86/head
Adrien Peiffer (ACSONE) 10 years ago
committed by Stéphane Bidoul
parent
commit
97ede02a5e
  1. 8
      mis_builder/report/report_mis_report_instance.xml

8
mis_builder/report/report_mis_report_instance.xml

@ -8,7 +8,7 @@
<t t-call="report.internal_layout"> <t t-call="report.internal_layout">
<div class="page"> <div class="page">
<h2 t-field="o.name"></h2> <h2 t-field="o.name"></h2>
<table class="table table-condensed text-right">
<table class="table table-condensed">
<thead> <thead>
<tr> <tr>
<t t-foreach="docs_computed[o.id]['header']" t-as="h"> <t t-foreach="docs_computed[o.id]['header']" t-as="h">
@ -17,7 +17,7 @@
<t t-esc="h_value['kpi_name']"/> <t t-esc="h_value['kpi_name']"/>
</div> </div>
</th> </th>
<th t-foreach="h_value['cols']" t-as="col">
<th t-foreach="h_value['cols']" t-as="col" class="text-center">
<div> <div>
<t t-esc="col['name']"/> <t t-esc="col['name']"/>
</div> </div>
@ -31,13 +31,13 @@
<tbody> <tbody>
<tr t-foreach="docs_computed[o.id]['content']" t-as="c"> <tr t-foreach="docs_computed[o.id]['content']" t-as="c">
<td t-att-style="c_value['default_style']"> <td t-att-style="c_value['default_style']">
<div>
<div class="text-left">
<t t-esc="c_value['kpi_name']"/> <t t-esc="c_value['kpi_name']"/>
</div> </div>
</td> </td>
<t t-foreach="c_value['cols']" t-as="value"> <t t-foreach="c_value['cols']" t-as="value">
<td t-att-style="c_value['default_style']"> <td t-att-style="c_value['default_style']">
<div t-att-style="value_value.get('style')">
<div t-att-style="value_value.get('style')" class="text-right">
<t t-esc="value_value['val_r']"/> <t t-esc="value_value['val_r']"/>
</div> </div>
</td> </td>

Loading…
Cancel
Save