diff --git a/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.css b/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.css index ed1886dbd..225c33c30 100644 --- a/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.css +++ b/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.css @@ -55,6 +55,10 @@ border-bottom: 1.8px solid black; } +.head_row { + border-top: 1.8px solid black; +} + .td_first { background-color: #7a7a7a; color: white; diff --git a/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.mako b/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.mako index a1b4c673d..9f33af59e 100644 --- a/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.mako +++ b/giscedata_facturacio_comer_som/report/components/invoice_details_td/invoice_details_td.mako @@ -40,8 +40,8 @@ <%include file="/giscedata_facturacio_comer_som/report/components/invoice_details_td_generation/invoice_details_td_generation.mako" args="id=id.generation" /> <%include file="/giscedata_facturacio_comer_som/report/components/invoice_details_td_inductive/invoice_details_td_inductive.mako" args="id=id.inductive" /> <%include file="/giscedata_facturacio_comer_som/report/components/invoice_details_td_capacitive/invoice_details_td_capacitive.mako" args="id=id.capacitive" /> - <%include file="/giscedata_facturacio_comer_som/report/components/invoice_details_td_flux_solar/invoice_details_td_flux_solar.mako" args="fs=id.flux_solar" /> <%include file="/giscedata_facturacio_comer_som/report/components/invoice_details_td_other_concepts/invoice_details_td_other_concepts.mako" args="id=id.other_concepts" /> + <%include file="/giscedata_facturacio_comer_som/report/components/invoice_details_td_flux_solar/invoice_details_td_flux_solar.mako" args="fs=id.flux_solar" /> ${_(u"TOTAL FACTURA")} ${_(u"%s €") % formatLang(id.amount_total)} diff --git a/giscedata_facturacio_comer_som/report/components/invoice_details_td_flux_solar/invoice_details_td_flux_solar.mako b/giscedata_facturacio_comer_som/report/components/invoice_details_td_flux_solar/invoice_details_td_flux_solar.mako index 2883cc051..ed495ea49 100644 --- a/giscedata_facturacio_comer_som/report/components/invoice_details_td_flux_solar/invoice_details_td_flux_solar.mako +++ b/giscedata_facturacio_comer_som/report/components/invoice_details_td_flux_solar/invoice_details_td_flux_solar.mako @@ -3,7 +3,7 @@ <% import locale %> - + ${_(u"Flux Solar")} ${_(u"Descompte per Flux Solar")} ${_(u"%s €") % formatLang(fs.subtotal)} diff --git a/giscedata_facturacio_comer_som/report/components/invoice_summary_td/invoice_summary_td.mako b/giscedata_facturacio_comer_som/report/components/invoice_summary_td/invoice_summary_td.mako index 47e670e80..411b9138c 100644 --- a/giscedata_facturacio_comer_som/report/components/invoice_summary_td/invoice_summary_td.mako +++ b/giscedata_facturacio_comer_som/report/components/invoice_summary_td/invoice_summary_td.mako @@ -27,15 +27,15 @@ % if invs.total_boe17_2021 != 0: ${_(u"Descompte sobre els càrrecs (RDL 17/2021)")}${"%s €" % formatLang(invs.total_boe17_2021)} % endif - % if invs.has_flux_solar_discount: - ${_(u"Descompte per Flux Solar")}${"%s €" % formatLang(invs.flux_solar_discount)} - % endif % if (invs.total_altres + invs.total_bosocial) != 0: ${_(u"Altres conceptes")}${"%s €" % formatLang(invs.total_altres + invs.total_bosocial)} % endif % for n, v in invs.impostos.items(): ${n}${"%s €" % formatLang(v)} % endfor + % if invs.has_flux_solar_discount: + ${_(u"Descompte per Flux Solar")}${"%s €" % formatLang(invs.flux_solar_discount)} + % endif % if invs.donatiu > 0: ${_(u"Donatiu voluntari (0,01 €/kWh) (exempt d'IVA)")}${"%s €" % formatLang(invs.donatiu)} % endif