Browse Source

[FIX] emc_taxshelter_report: fix resold report and shares report

pull/68/head
Manuel Claeys Bouuaert 5 years ago
parent
commit
9ccc522e0f
  1. 11
      easy_my_coop_taxshelter_report/reports/tax_shelter_resold_report.xml
  2. 11
      easy_my_coop_taxshelter_report/reports/tax_shelter_shares_report.xml

11
easy_my_coop_taxshelter_report/reports/tax_shelter_resold_report.xml

@ -6,7 +6,7 @@
<div class="page">
<div class="row">
<div class="col-xs-5 col-xs-offset-7 easymy-coop-address">
<div class="col-sm-5 col-sm-offset-7 easymy-coop-address" style="margin-top:100px;">
<strong><span t-field="o.partner_id.name" /><br/></strong>
<span> numéro de coopérateur </span>
<span t-field="o.partner_id.cooperator_register_number"></span><br/><br/>
@ -27,7 +27,7 @@
</h2>
<div class="row">
<div class="col-xs-12 pull-left">
<div class="col-sm-12 pull-left">
<div>
Cher membre,
</div>
@ -62,7 +62,7 @@
</div>
<div class="row">
<div class="col-xs-6 pull-left">
<div class="col-sm-6 pull-left">
<div>
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>.
</div>
@ -70,7 +70,10 @@
<strong><span t-field="o.company_id.board_representative"/></strong>
</div>
<div>
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan"/>
<img t-if="o.company_id.signature_scan"
t-attf-class="mt16 w-50"
t-attf-style="{{ 'min-width: 100px; max-width: 250px' if report_type == 'pdf' else '' }}"
t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan.decode()"/>
</div>
</div>
</div>

11
easy_my_coop_taxshelter_report/reports/tax_shelter_shares_report.xml

@ -6,7 +6,7 @@
<div class="page">
<div class="row">
<div class="col-xs-5 col-xs-offset-7 easymy-coop-address">
<div class="col-sm-5 col-sm-offset-7 easymy-coop-address" style="margin-top:100px;">
<strong><span t-field="o.partner_id.name" /><br/></strong>
<span> numéro de coopérateur </span>
<span t-field="o.partner_id.cooperator_register_number"></span><br/><br/>
@ -27,7 +27,7 @@
</h2>
<div class="row">
<div class="col-xs-12 pull-left">
<div class="col-sm-12 pull-left">
<div>
Cher membre,
</div>
@ -112,7 +112,7 @@
Cordialement,
</div>
</div>
<div class="col-xs-6 pull-left">
<div class="col-sm-6 pull-left">
<div>
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>.
</div>
@ -120,7 +120,10 @@
<strong><span t-field="o.company_id.board_representative"/></strong>
</div>
<div>
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan"/>
<img t-if="o.company_id.signature_scan"
t-attf-class="mt16 w-50"
t-attf-style="{{ 'min-width: 100px; max-width: 250px' if report_type == 'pdf' else '' }}"
t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan.decode()"/>
</div>
</div>
</div>

Loading…
Cancel
Save