{% extends "base.html" %} {% block title %}Informes{% endblock %} {% block page_title %}Informes — {{ año }}{% endblock %} {% block topbar_actions %}
Exportar Excel {% endblock %} {% block content %}| Mes | Ingresos | Gastos | Beneficio | Margen |
|---|---|---|---|---|
| {{ m.mes }} | {{ "%.2f"|format(m.ingresos) }} € | {{ "%.2f"|format(m.gastos) }} € | {{ "%.2f"|format(m.beneficio) }} € |
{% if m.ingresos > 0 %}
{% set pct = (m.beneficio / m.ingresos * 100)|round(1) %}
|
| TOTAL | {{ "%.2f"|format(total_ingresos) }} € | {{ "%.2f"|format(total_gastos) }} € | {{ "%.2f"|format(total_beneficio) }} € |
| # | Cliente | Facturas | Importe |
|---|---|---|---|
| {{ loop.index }} | {{ c.nombre }} | {{ c.num_facturas }} | {{ "%.2f"|format(c.facturado) }} € |
| Sin datos | |||
| # | Proveedor | Facturas | Importe |
|---|---|---|---|
| {{ loop.index }} | {{ p.nombre }} | {{ p.num_facturas }} | {{ "%.2f"|format(p.facturado) }} € |
| Sin datos | |||