{% extends "base.html" %} {% block styles %} {{ super() }} {% endblock %} {% block title %}{{ title }}{% endblock %} {% block content %}

Estudio de ahorro Energético personalizado

Preparada especialmente para ti.

Foto de perfil de {{ commercial.first_name }}
{{ commercial.first_name }} {{ commercial.last_name }}

Tu asesor energético

{{ commercial.email }}
Datos del Cliente

Cliente: {{ invoice_data.get('client_name', 'N/A') }}

Dirección: {{ invoice_data.get('supply_address', 'N/A') }}

Email: {{ client_email or 'N/A' }}

Comercializadora: {{ invoice_data.get('provider_name', 'N/A') }}

CUPS: {{ invoice_data.get('cups', 'N/A') }}

Tarifa: {{ invoice_data.get('tariff_type', 'N/A') }}

{% if proposal_data.custom_comment %}
Informacion relevante

"{{ proposal_data.custom_comment }}"

{% endif %}
Planes Recomendados
{% for plan in proposal_data.selected_plans %}
{{ plan.supplier }}
{% if plan.is_savings %} Opción Ahorro {% else %} Opción Alternativa {% endif %}
Resumen de costes
COSTE MENSUAL ACTUAL
{% set current_monthly = (invoice_data.get('current_annual_cost', 0) / 12) if invoice_data.get('current_annual_cost') else 0 %}
{{ "%.2f"|format(current_monthly) }}€
IVA no incluido
PROPUESTA COSTE MENSUAL
{{ "%.2f"|format(plan.get('new_total_cost', 0)) }}€
IVA no incluido
{% if plan.get('is_savings', True) %}
AHORRO ANUAL: {{ plan.get('yearly_savings', 0)|round|int }}€
({{ "%.1f"|format(plan.get('savings_percentage', 0)) }}% de ahorro)
{% else %}
SOBRECOSTE ANUAL: +{{ plan.get('yearly_loss', 0)|round|int }}€
(+{{ "%.1f"|format(plan.get('savings_percentage', 0)) }}% de sobrecoste)
{% endif %}
NUEVO COSTE MENSUAL: {{ "%.2f"|format(plan.get('new_total_cost', 0)) }}€
Permanencia: {{ plan.get('contract_duration', 12) }} meses | Plan: {{ plan.get('name', 'Sin nombre') }}
Precios Energía (€/kWh)
{% for period in ['P1', 'P2', 'P3', 'P4', 'P5', 'P6'] %} {% set energy_price = plan.get('energy_price_' + period|lower, 0) %} {% if energy_price > 0 %} {% endif %} {% endfor %}
PeríodoPrecio
{{ period }}{{ "%.5f"|format(energy_price) }}
Precios Potencia (€/kW/día)
{% for period in ['P1', 'P2', 'P3', 'P4', 'P5', 'P6'] %} {% set power_price = plan.get('power_price_' + period|lower, 0) %} {% if power_price > 0 %} {% endif %} {% endfor %}
PeríodoPrecio
{{ period }}{{ "%.5f"|format(power_price) }}
{% endfor %}

Esta es una simulación basada en su consumo y precios actuales. Los precios y condiciones están sujetos a cambios según las condiciones del mercado.

{% endblock %}