{% extends reportShell|default('base.html.twig') %} {% block title %}Pagos y aplicaciones{% endblock %} {% block page_title %}Pagos y aplicaciones{% endblock %} {% block stylesheets %} {% if reportShell|default('base.html.twig') == 'base.html.twig' %} {{ parent() }} {% endif %} {% include 'reporte/_styles.html.twig' %} {% endblock %} {% block breadcrumb %} {% endblock %} {% block report_title %}Pagos y aplicaciones{% endblock %} {% block report_subtitle %}Periodo {{ filtros.fecha_desde|date('d/m/Y') }} al {{ filtros.fecha_hasta|date('d/m/Y') }}{% endblock %} {% block content %} {% set isExportView = reportShell|default('base.html.twig') != 'base.html.twig' %} {% set exportQuery = {'proveedor_id': filtros.proveedor_id, 'fecha_desde': filtros.fecha_desde, 'fecha_hasta': filtros.fecha_hasta} %}
Pagos {{ stats.pagos }}
Aplicaciones {{ stats.aplicaciones }}
{% for total in totalesMoneda %}
{{ total.moneda }} {{ total.moneda }} {{ total.total|number_format(2, '.', ',') }}
Aplicado {{ total.moneda }} {{ total.aplicado|number_format(2, '.', ',') }} | Disponible {{ total.moneda }} {{ total.disponible|number_format(2, '.', ',') }}
{% endfor %}
{{ block('report_body') }}
{% endblock %} {% block report_body %}
{% for pago in pagos %} {% else %} {% endfor %}
Pago Fecha Proveedor Forma Referencia Moneda Total Aplicado Disponible Documentos
{{ pago.codigo }} {{ pago.fecha }} {{ pago.proveedor }} {{ pago.forma }} {{ pago.referencia }} {{ pago.moneda }} {{ pago.moneda }} {{ pago.total|number_format(2, '.', ',') }} {{ pago.moneda }} {{ pago.aplicado|number_format(2, '.', ',') }} {{ pago.moneda }} {{ pago.disponible|number_format(2, '.', ',') }} {% if pago.documentos %}
    {% for documento in pago.documentos %}
  • {{ documento }}
  • {% endfor %}
{% else %} Sin aplicar {% endif %}
No hay pagos para los filtros seleccionados.
{% endblock %}