Skip to content
Snippets Groups Projects
Commit 2ef04f0e authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[update] invoice template with CO2

parent a7281618
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,19 @@
<xpath expr="//div[@t-if='len(o.tax_line_ids) &gt; 0']" position="attributes">
<attribute name="style">display: none</attribute>
</xpath>
<xpath expr="//p[@t-if='o.fiscal_position_id.note']" position="after">
<!-- Phrase équivalent CO2 -->
<xpath expr="//div[hasclass('col-xs-4')]" position="attributes">
<attribute name="style">page-break-inside: avoid;</attribute>
</xpath>
<xpath expr="//div[hasclass('col-xs-4')]" position="inside">
<t t-if="o.carbon_impact">
<p>
Notre bilan carbone nous permet d’estimer qu’en moyenne AudiES émet 19,4gCO2eq/ € de vente. Nous estimons donc que notre prestation impacte votre propre bilan carbone à hauteur de <span t-field="o.carbon_impact" t-options="{'widget': 'float', 'precision': 2}"/>kgCO2eq.
</p>
<div class="text-justify" style="background-color: #eee; font-size: 11px; padding: 5px;">
Notre bilan carbone nous permet d’estimer qu’en moyenne AudiES émet 19,4g de CO2 / € de vente. Nous estimons donc que notre prestation impacte votre propre bilan carbone à hauteur de <strong><span t-field="o.carbon_impact" t-options="{'widget': 'float', 'precision': 2}"/>kg de CO2*</strong> ((*équivalent CO2 plus précisément).
</div>
</t>
</xpath>
<!-- Texte obligatoire -->
<xpath expr="//p[@t-if='o.fiscal_position_id.note']" position="after">
<p style='font-size: 11px; font-style: italic; color: #555;'>
Escompte pour paiement anticipé : néant. Conformément à l'article L 441-6 du Code de commerce, des pénalités de retard sont dues à défaut de règlement le jour suivant la date de paiement qui figure sur la facture, le taux d'intérêt de ces pénalités de retard est de 3 fois le taux d'intérêt légal. Indemnités pour frais de recouvrement en cas de retard de paiement : 40€ sauf frais supplémentaires.
</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment