{% extends 'layouts/panel_layout.html.twig' %} {% block title %} Facturación {% endblock %} {% block stylesheets %} {{ encore_entry_link_tags('facturacion_index') }} {% endblock %} {% block content %} {# TITULO #}

Facturas

{# BOTONERA PRINCIPAL #}
{# CONTENIDO PRINCIPAL #}
{# FILTRO DE FACTURA #}
{{ form_start(filtro, { attr: { action: path('facturacion_table_filter'), autocomplete: "off" } }) }}
{{ form_row(filtro.filtroCliente) }} {% if is_granted("ROLE_ADMIN") or is_granted("CAJERO") %} {{ form_row(filtro.filtroVendedor) }} {% else %}
{{ form_row(filtro.filtroVendedor) }}
{% endif %} {# {{ form_row(filtro.filtroDniCliente) }}#} {{ form_row(filtro.codfactura) }} {{ form_row(filtro.filtroFecha) }} {# RESUMEN FACTURACION FECHA DEL FILTRO #}
{% if is_granted("ROLE_ADMIN") %} {% endif %}
{# TOTAL FACTUACION DEL FILTRO #}
{{ form_end(filtro) }}
{# RESUMEN DE FACTURACION DEL DIA #}
{% include 'facturacion/templates/resumen.html.twig' with { facturas: resumen['facturas'], movimientos: resumen["movimientos"], rango: 'now' | date('d-m-Y') } %}
{# RESULTADO DE FILTRO (DEFAULT FACTURAS DEL DIA) #}
{% include 'facturacion/templates/table_result.html.twig' with { facturas: facturas } %}
{# MODAL PARA SELECCIONAR CLIENTE DE NUEVA FACTURA #}
{% endblock %} {% block javascripts %} {{ encore_entry_script_tags('facturacion_index') }} {% endblock %}