{% extends reportShell|default('base.html.twig') %} {% block title %}Documentos pendientes y vencidos{% endblock %} {% block page_title %}Documentos pendientes{% 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 %}Documentos pendientes y vencidos{% endblock %} {% block report_subtitle %}Corte al {{ filtros.fecha_corte|date('d/m/Y') }}{% endblock %} {% block content %} {% set isExportView = reportShell|default('base.html.twig') != 'base.html.twig' %} {% set exportQuery = {'proveedor_id': filtros.proveedor_id, 'estado': filtros.estado, 'fecha_corte': filtros.fecha_corte} %}
Documentos {{ stats.documentos }}
Vencidos {{ stats.vencidos }}
Por vencer {{ stats.por_vencer }}
{% for total in totalesMoneda %}
Saldo {{ total.moneda }} {{ total.moneda }} {{ total.saldo|number_format(2, '.', ',') }}
{% endfor %}
{{ block('report_body') }}
{% endblock %} {% block report_body %}
{% if reportShell|default('base.html.twig') == 'base.html.twig' %} {% endif %} {% for documento in documentos %} {% if reportShell|default('base.html.twig') == 'base.html.twig' %} {% endif %} {% else %} {% endfor %}
Proveedor Tipo Documento F. emision F. vencimiento Dias Moneda Total Saldo EstadoAccion
{{ documento.proveedor }} {{ documento.tipo }} {{ documento.documento }} {{ documento.fecha_emision }} {{ documento.fecha_vencimiento }} {{ documento.dias }} {{ documento.moneda }} {{ documento.total|number_format(2, '.', ',') }} {{ documento.saldo|number_format(2, '.', ',') }} {% if documento.estado == 'Vencido' %} {{ documento.estado }} {% elseif documento.estado == 'Por vencer' %} {{ documento.estado }} {% else %} {{ documento.estado }} {% endif %} {% if is_granted('ROLE_OPERADOR') and documento.saldo > 0 %} Registrar pago {% endif %}
No hay documentos para los filtros seleccionados.
{% endblock %}