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.
|
|
<?xml version="1.0" encoding="utf-8"?> <openerp> <data> <template id="cooperator_register_G001">
<t t-call="theme_light.html_container">
<t t-set="data_report_margin_top" t-value="5"/> <t t-set="data_report_header_spacing" t-value="0"/> <t t-set="data_report_dpi" t-value="110"/> <t t-call="theme_light.report_layout_002">
<div class="page"> <head> <link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/> </head> <t t-call="theme_light.list_header_G002"/>
<br/><br/><br/><br/><br/> <table class="title_table"> <tr> <td> <span class="color_text" t-esc="time.strftime('%Y-%m-%d')"/> </td> <td> <div class="title_doc" style="font-size:16px"> <span>COOPERATOR REGISTER</span> </div> </td> </tr> </table>
<br/><br/><br/><br/><br/>
<table class="list_line_table_head" width="100%" > <t t-set="total_quantity" t-value="0"/> <t t-set="total_amount" t-value="0"/> <br /> <tr> <th width="15%" style="text-align: center;" >Number</th> <th width="25%" style="text-align: center;" >Name</th> <th width="20%" style="text-align: center;" >Email</th> <th width="15%" style="text-align: center;" >Effective date</th> <th width="10%" style="text-align: center;" >Quantity</th> <th width="15%" style="text-align: center;" >Total</th> </tr> <t t-set="nb_ligne" t-value="0"/> <t t-foreach="docs" t-as="partner"> <t t-set="new_partner" t-value="0"/>
<t t-foreach="partner.share_ids" t-as="line"> <t t-set="nb_ligne" t-value="nb_ligne+1"/> <tr height="40px"> <div t-if="(nb_ligne%2)==1" > <div t-if="(new_partner)==0"> <td class="lgn_impair" style="text-align:left;text-indent:20px;"> <span t-field="partner.cooperator_register_number" ></span> </td> <td style="text-align:left"> <span t-field="partner.name" ></span> </td> <td style="text-align:left"> <span t-field="partner.email" ></span> </td> </div> <div t-if="(new_partner)!=0"> <td class="lgn_impair" style="text-align:left;text-indent:20px;" colspan="3"> </td> </div> <td> <span t-field="line.effective_date" ></span> </td> <td> <span t-field="line.share_number" ></span> </td> <td> <span t-field="line.total_amount_line" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> </td> </div> <div t-if="(nb_ligne%2)==0" > <div t-if="(new_partner)==0" > <td class="lgn_pair" style="text-align:left;text-indent:20px;background-color:#ffffff"> <span t-field="partner.cooperator_register_number" ></span> </td> <td class="lgn_pair" style="background-color:#ffffff;text-align:left"> <span t-field="partner.name" ></span> </td> <td class="lgn_pair" style="background-color:#ffffff;text-align:left"> <span t-field="partner.email" ></span> </td> </div> <div t-if="(new_partner)!=0" style="background-color:#ffffff"> <td class="lgn_pair" style="text-align:left;text-indent:20px;background-color:#ffffff" colspan="3"> </td> </div> <td class="lgn_pair" style="background-color:#ffffff"> <span t-field="line.effective_date"> </span> </td> <td class="lgn_pair" style="background-color:#ffffff"> <span t-field="line.share_number" ></span> </td> <td class="lgn_pair" style="background-color:#ffffff"> <span t-field="line.total_amount_line" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> </td> </div> </tr> <t t-set="new_partner" t-value="new_partner+1"/> </t> </t> </table> </div> </t> </t> </template>
</data> </openerp>
|