use openerp style to display result
parent
b6c2814772
commit
15449fcbbd
|
@ -1,29 +1,39 @@
|
||||||
<template>
|
<template>
|
||||||
<t t-name="mis_builder.MisReport">
|
<t t-name="mis_builder.MisReport">
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<table t-if="widget.mis_report_data">
|
<table t-if="widget.mis_report_data" class="oe_list_content">
|
||||||
<th>
|
<thead>
|
||||||
<td></td>
|
<tr class="oe_list_header_columns">
|
||||||
<th t-foreach="widget.mis_report_data.cols" t-as="col" style="padding-right:10px">
|
<th class="oe_list_header_char"></th>
|
||||||
|
<th t-foreach="widget.mis_report_data.cols" t-as="col" class="oe_list_header_char">
|
||||||
|
<div>
|
||||||
<t t-esc="col.name"/>
|
<t t-esc="col.name"/>
|
||||||
|
</div>
|
||||||
</th>
|
</th>
|
||||||
</th>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tr t-foreach="widget.mis_report_data.rows" t-as="row">
|
<tr t-foreach="widget.mis_report_data.rows" t-as="row">
|
||||||
<th>
|
<th>
|
||||||
|
<div>
|
||||||
<t t-esc="row.description"/>
|
<t t-esc="row.description"/>
|
||||||
|
</div>
|
||||||
</th>
|
</th>
|
||||||
<td></td>
|
<td t-foreach="widget.mis_report_data.cols" t-as="col">
|
||||||
<td t-foreach="widget.mis_report_data.cols" t-as="col" style="padding-right:10px">
|
|
||||||
<t t-foreach="col.values" t-as="value">
|
<t t-foreach="col.values" t-as="value">
|
||||||
<t t-if="value == row.name">
|
<t t-if="value == row.name">
|
||||||
<t t-esc="value_value.val_r"/>
|
<t t-esc="value_value.val_r"/>
|
||||||
<t t-if="value_value.val_c">
|
|
||||||
<t t-esc="value_value.val_c"/>
|
|
||||||
</t>
|
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td class="oe_list_footer" />
|
||||||
|
<td t-foreach="widget.mis_report_data.cols" class="oe_list_footer" />
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
</t>
|
</t>
|
||||||
</template>
|
</template>
|
Loading…
Reference in New Issue