Skip to content

Commit

Permalink
using the wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoCubero committed Jul 29, 2024
1 parent d97c5d8 commit e6996da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
${_(u"En aquesta factura has generat <b>%s</b> kWh d'excedents d’autoproducció, que tenen un valor de <b>%s</b> €. A través de la compensació simplificada se t’han compensat <b>%s</b> €, i els <b>%s</b> € restants se’t convertiran en <b>%s</b> Sols (cada euro no compensat equival a 0,8 Sols).") % ((formatLang(sf.surplus_kwh), formatLang(sf.surplus_e), formatLang(sf.compensation_e), formatLang(sf.ajustment_e), formatLang(sf.suns_generated)))}
<br>
${_(u"A partir de demà s’actualitzaran els Sols que tens disponibles a l’")}<a href=${sf.link_ov_suns}>${_(u"Oficina Virtual")}</a> ${_(u"i a les properes factures se’t transformaran en descomptes.")}
% elif sf.suns_used > 0:
% elif sf.compensation_e > 0:
${_(u"En aquesta factura has generat <b>%s</b> kWh d'excedents d’autoproducció, que tenen un valor de <b>%s</b> €. A través de la compensació simplificada se t’han compensat <b>%s</b> € (la totalitat dels excedents generats).") % ((formatLang(sf.surplus_kwh), formatLang(sf.surplus_e), formatLang(sf.compensation_e)))}
<br>
${_(u"Per tant, en aquesta factura no es generen Sols. Pots consultar els teus Sols disponibles a la teva")} <a href=${sf.link_ov_suns}>${_(u"Oficina Virtual")}</a>.
Expand Down

0 comments on commit e6996da

Please sign in to comment.