{% 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.ole_cost) }}€
IVA no incluido
{% if plan.is_savings %}
AHORRO ANUAL: {{ plan.yearly_savings|round|int }}€
({{ "%.1f"|format(plan.savings_percentage) }}% de ahorro)
{% else %}
SOBRECOSTE ANUAL: +{{ plan.yearly_loss|round|int }}€
(+{{ "%.1f"|format(plan.savings_percentage) }}% de sobrecoste)
{% endif %}
NUEVO COSTE MENSUAL: {{ "%.2f"|format(plan.ole_cost) }}€
Permanencia: {{ plan.contract_duration }} meses | Plan: {{ plan.name }}
Precios Energía (€/kWh)
{% for period in ['P1', 'P2', 'P3', 'P4', 'P5', 'P6'] %} {% if plan.energy_prices[period] is defined and plan.energy_prices[period] and plan.energy_prices[period] > 0 %} {% endif %} {% endfor %}
PeríodoPrecio
{{ period }}{{ "%.5f"|format(plan.energy_prices[period]) }}
Precios Potencia (€/kW/día)
{% for period in ['P1', 'P2', 'P3', 'P4', 'P5', 'P6'] %} {% if plan.power_prices[period] is defined and plan.power_prices[period] and plan.power_prices[period] > 0 %} {% endif %} {% endfor %}
PeríodoPrecio
{{ period }}{{ "%.5f"|format(plan.power_prices[period]) }}
{% 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 %}