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.

106 lines
3.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="cooperator_subscription_G001">
  4. <t t-call="web.html_container">
  5. <t t-set="data_report_margin_top" t-value="5"/>
  6. <t t-set="data_report_header_spacing" t-value="0"/>
  7. <t t-set="data_report_dpi" t-value="110"/>
  8. <!--<t t-call="theme_light.report_layout_002">-->
  9. <div class="page">
  10. <head>
  11. <!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>-->
  12. </head>
  13. <!--<t t-call="theme_light.list_header_G002"/>-->
  14. <br/><br/><br/><br/><br/>
  15. <table class="title_table">
  16. <tr>
  17. <td>
  18. <span class="color_text" t-esc="time.strftime('%Y-%m-%d')"/>
  19. </td>
  20. <td>
  21. <div class="title_doc" style="font-size:16px">
  22. <span>SUBSCRIPTION REGISTER</span>
  23. </div>
  24. </td>
  25. </tr>
  26. </table>
  27. <br/><br/><br/><br/><br/>
  28. <table class="list_line_table_head" width="100%" >
  29. <br />
  30. <tr>
  31. <th width="15%" style="text-align: center;" >Operation number</th>
  32. <th width="30%" style="text-align: left;text-indent:15px" >Cooperator</th>
  33. <th width="15%" style="text-align: center;" >Subscription date</th>
  34. <th width="25%" style="text-align: center;" >Operation type</th>
  35. <th width="15%" style="text-align: center;" >Share number</th>
  36. </tr>
  37. <t t-set="nb_ligne" t-value="0"/>
  38. <p t-foreach="docs" t-as="transaction">
  39. <t t-set="nb_ligne" t-value="nb_ligne+1"/>
  40. <tr height="40px">
  41. <div t-if="(nb_ligne%2)==1" >
  42. <td class="lgn_impair" style="text-align:left;text-indent:10px">
  43. <span t-field="transaction.register_number_operation" ></span>
  44. </td>
  45. <td style="text-align:left;text-indent:15px">
  46. <span t-field="transaction.partner_id.name" ></span>
  47. </td>
  48. <td style="text-align:center">
  49. <span t-field="transaction.date" ></span>
  50. </td>
  51. <td style="text-align:center">
  52. <span t-field="transaction.type"/>
  53. </td>
  54. <td style="text-align:center">
  55. <span t-field="transaction.quantity" ></span>
  56. </td>
  57. </div>
  58. <div t-if="(nb_ligne%2)==0" >
  59. <td class="lgn_pair" style="text-align:left;text-indent:10px;background-color:#ffffff">
  60. <span t-field="transaction.register_number_operation" ></span>
  61. </td>
  62. <td class="lgn_pair" style="text-align:left;text-indent:15px;background-color:#ffffff">
  63. <span t-field="transaction.partner_id.name" ></span>
  64. </td>
  65. <td style="text-align:center;background-color:#ffffff">
  66. <span t-field="transaction.date" ></span>
  67. </td>
  68. <td style="text-align:center;background-color:#ffffff">
  69. <span t-field="transaction.type"/>
  70. </td>
  71. <td style="text-align:center;background-color:#ffffff">
  72. <span t-field="transaction.quantity" ></span>
  73. </td>
  74. </div>
  75. </tr>
  76. </p>
  77. </table>
  78. <table width="100%" >
  79. <br />
  80. <tr height="40px">
  81. <th width="15%"></th>
  82. <th width="30%"></th>
  83. <th width="15%"></th>
  84. <th class="total_table color_text" width="25%"> TOTAL : </th>
  85. <th class="total_table" style="text-align:center" width="15%">
  86. <span t-esc="sum(t.quantity for t in docs)"/>
  87. </th>
  88. </tr>
  89. </table>
  90. </div>
  91. </t>
  92. <!--</t>-->
  93. </template>
  94. </odoo>