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

Nueva factura {% if updated is defined %}({{ updated }}){% endif %}

{# BOTONERA PRINCIPAL #}

ASIGNACIÓN

{% if is_granted('ROLE_CAJERO') %} {% set currentVendedor = factura.vendedor ? factura.vendedor.id: app.user.id %} {% else %} {{ factura.vendedor.nombre }} {% endif %}

Volver

Proceso Nº: {{ factura.codfacturaTmp }}

{# CONTENIDO PRINCIPAL #}
CUIT/DNI > {{ factura.cliente.cuilt ? factura.cliente.cuilt : factura.cliente.dni }}
MODIFICAR
CLIENTE

Saldo en Cuenta Corriente: {% if factura.cliente.cuentaCorriente %} ${{ ((factura.cliente.cuentaCorriente.totalF()|default(0)) + (factura.cliente.cuentaCorriente.totalNF()|default(0))) | number_format(2, ',', '.') }} {% else %} $0.00 {% endif %}

Ver Resumen de Cuenta

{% if not is_granted('ROLE_VENDEDOR') %}
{% endif %}

Stock Actual:

Quedarían:

Otro Local:

$
$
{% include 'facturacion/templates/table_factulinea.html.twig' with { factulineas: factura.factuLinea, lineaActual: 0 } %}
cancelar
$

{% include 'facturacion/templates/formTotales.html.twig' %}
{# MODAL - CUENTA CORRIENTE #}
{# ÁREA DE IMPRESIÓN OCULTA #} {# MODALES - ACCESO OTRAS OPERACIONES #} {# MODALES - OTRAS OPERACIONES #}
{# MODALES - CHEQUE #} {# MODALES - FINANCIERA #} {# MODALES - MUTUAL #} {# MODAL - QR #} {# MODALES - TARJETA #} {# MODALES - PAGO DIVIDIDO #} {# MODALES - TRANSFERENCIA #} {# MODALES - PRODUCT PAGE #} {% endblock %} {% block javascripts %} {{ encore_entry_script_tags('facturacion_nuevo') }} {{ encore_entry_script_tags('facturacion_calcularTotales') }} {{ encore_entry_script_tags('facturacion_pagoDivididoFinanciera') }} {{ encore_entry_script_tags('facturacion_financiera') }} {{ encore_entry_script_tags('facturacion_pagoDivididoMutual') }} {% endblock %}