You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.9 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <template id="report_mis_report_instance">
  5. <t t-call="report.html_container">
  6. <t t-foreach="docs" t-as="o">
  7. <t t-call="report.internal_layout">
  8. <div class="page">
  9. <h2 t-field="o.name"></h2>
  10. <table class="table table-condensed">
  11. <thead>
  12. <tr>
  13. <t t-foreach="docs_computed[o.id]['header']" t-as="h">
  14. <th>
  15. <div>
  16. <t t-esc="h_value['kpi_name']"/>
  17. </div>
  18. </th>
  19. <th t-foreach="h_value['cols']" t-as="col" class="text-center">
  20. <div>
  21. <t t-esc="col['name']"/>
  22. </div>
  23. <div>
  24. <t t-esc="col['date']"/>
  25. </div>
  26. </th>
  27. </t>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <tr t-foreach="docs_computed[o.id]['content']" t-as="c">
  32. <td t-att-style="c_value['default_style']">
  33. <div class="text-left">
  34. <t t-esc="c_value['kpi_name']"/>
  35. </div>
  36. </td>
  37. <t t-foreach="c_value['cols']" t-as="value">
  38. <td t-att-style="c_value['default_style']">
  39. <div t-att-style="value_value.get('style')" class="text-right">
  40. <t t-esc="value_value['val_r']"/>
  41. </div>
  42. </td>
  43. </t>
  44. </tr>
  45. </tbody>
  46. </table>
  47. </div>
  48. </t>
  49. </t>
  50. </t>
  51. </template>
  52. </data>
  53. </openerp>