{% extends "base.html" %} {% from "reportes/report_macros.html" import smart_select_field %} {% block contenido %}
{{ _("Real versus Presupuesto") }}
{% if report_data %}

{{ _("Este reporte contrasta la ejecución real con el presupuesto por período, cuenta y dimensiones analíticas.") }}

{% for row in report_data.rows %} {% endfor %}
{{ _("Reporte de ejecución real vs presupuesto") }}
{{ _("Período") }} {{ _("Cuenta") }} {{ _("Nombre de Cuenta") }} {{ _("Centro de Costo") }} {{ _("U. Negocio") }} {{ _("Proyecto") }} {{ _("Real") }} {{ _("Presupuesto") }} {{ _("Variación") }} {{ _("Var %") }}
{{ row.values.period_group }} {{ row.values.account_code }} {{ row.values.account_name }} {{ row.values.cost_center }} {{ row.values.business_unit }} {{ row.values.project }} {{ format_money_with_currency(row.values.actual) }} {{ format_money_with_currency(row.values.budget) }} {{ format_money_with_currency(row.values.variance) }} {% if row.values.variance_pct is not none %} {{ "{:,.2f}%".format(row.values.variance_pct) }} {% else %} — {% endif %}
{{ _("Total Real") }} {{ format_money_with_currency(report_data.totals.actual) }}
{{ _("Total Presupuesto") }} {{ format_money_with_currency(report_data.totals.budget) }}
{{ _("Variación Total") }} {{ format_money_with_currency(report_data.totals.variance) }}
{% else %}

{{ _("Seleccione los filtros y presione 'Generar Reporte'.") }}

{% endif %}
{% endblock %}