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.

130 lines
5.5 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  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/>
  15. <br/>
  16. <br/>
  17. <br/>
  18. <br/>
  19. <table class="title_table">
  20. <tr>
  21. <td>
  22. <span class="color_text"
  23. t-esc="time.strftime('%Y-%m-%d')"/>
  24. </td>
  25. <td>
  26. <div class="title_doc" style="font-size:16px">
  27. <span>SUBSCRIPTION REGISTER</span>
  28. </div>
  29. </td>
  30. </tr>
  31. </table>
  32. <br/>
  33. <br/>
  34. <br/>
  35. <br/>
  36. <br/>
  37. <table class="list_line_table_head" width="100%">
  38. <br/>
  39. <tr>
  40. <th width="15%" style="text-align: center;">Operation
  41. number
  42. </th>
  43. <th width="30%"
  44. style="text-align: left;text-indent:15px">Cooperator
  45. </th>
  46. <th width="15%" style="text-align: center;">Subscription
  47. date
  48. </th>
  49. <th width="25%" style="text-align: center;">Operation
  50. type
  51. </th>
  52. <th width="15%" style="text-align: center;">Share
  53. number
  54. </th>
  55. </tr>
  56. <t t-set="nb_ligne" t-value="0"/>
  57. <p t-foreach="docs" t-as="transaction">
  58. <t t-set="nb_ligne" t-value="nb_ligne+1"/>
  59. <tr height="40px">
  60. <div t-if="(nb_ligne%2)==1">
  61. <td class="lgn_impair"
  62. style="text-align:left;text-indent:10px">
  63. <span t-field="transaction.register_number_operation"></span>
  64. </td>
  65. <td style="text-align:left;text-indent:15px">
  66. <span t-field="transaction.partner_id.name"></span>
  67. </td>
  68. <td style="text-align:center">
  69. <span t-field="transaction.date"></span>
  70. </td>
  71. <td style="text-align:center">
  72. <span t-field="transaction.type"/>
  73. </td>
  74. <td style="text-align:center">
  75. <span t-field="transaction.quantity"></span>
  76. </td>
  77. </div>
  78. <div t-if="(nb_ligne%2)==0">
  79. <td class="lgn_pair"
  80. style="text-align:left;text-indent:10px;background-color:#ffffff">
  81. <span t-field="transaction.register_number_operation"></span>
  82. </td>
  83. <td class="lgn_pair"
  84. style="text-align:left;text-indent:15px;background-color:#ffffff">
  85. <span t-field="transaction.partner_id.name"></span>
  86. </td>
  87. <td style="text-align:center;background-color:#ffffff">
  88. <span t-field="transaction.date"></span>
  89. </td>
  90. <td style="text-align:center;background-color:#ffffff">
  91. <span t-field="transaction.type"/>
  92. </td>
  93. <td style="text-align:center;background-color:#ffffff">
  94. <span t-field="transaction.quantity"></span>
  95. </td>
  96. </div>
  97. </tr>
  98. </p>
  99. </table>
  100. <table width="100%">
  101. <br/>
  102. <tr height="40px">
  103. <th width="15%"></th>
  104. <th width="30%"></th>
  105. <th width="15%"></th>
  106. <th class="total_table color_text" width="25%">TOTAL :
  107. </th>
  108. <th class="total_table" style="text-align:center"
  109. width="15%">
  110. <span t-esc="sum(t.quantity for t in docs)"/>
  111. </th>
  112. </tr>
  113. </table>
  114. </div>
  115. </t>
  116. <!--</t>-->
  117. </template>
  118. </odoo>