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.

110 lines
3.7 KiB

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