{% extends 'facturacion/impresos/impreso_base.html.twig' %} {% set cliente = factura.cliente %} {% block tipo_comprobante %} FACTURA A {% endblock %} {% block datos_cliente %}

{{ factura.cliente.nombre | upper }}

{{ factura.cliente.direccion }}

{{ factura.cliente.condIva ? factura.cliente.condIva.condicion : '' }}

TRANSPORTE: {{ factura.cliente.transporte.Nombre| upper }}

{% endblock %} {% block datos_izquierda %} {% include 'facturacion/impresos/data_empresa.html.twig' %} {% endblock %} {% block datos_derecha %}

N° Control: {% if comprobante and comprobante.talonario %} {{ '%05d' | format(comprobante.talonario.nroTalonario) }} - {{ '%08d' | format(comprobante.nroComp) }}

{% endif %}

Fecha: {{ comprobante.fechaComp | date('d-m-Y') }}

C.U.I.T. N°: 20-37299599-9

ING. BRUTOS C.M. N°: 011-499907-2

INICIO DE ACTIVIDAD: 13/05/2024

I.V.A. RESPONSABLE INSCRIPTO

C.U.I.T./L: {{ factura.cliente.cuilt }}

{% if factura.cliente.localidad %} {{ factura.cliente.localidad.descripcionLoc ?: 'sin localidad' }}, {{ factura.cliente.localidad.provincia.descripcionPro ?: 'sin provincia' }} {% else %} sin localidad, sin provincia {% endif %}

{% endblock %} {% block detalle_productos %}
Cantidad
Código
Descripción
Precio Unit.
DESC/AUM
Importe
{% set dto_col = 0 %} {% for factulinea in factura.factulineas %} {% set precio = factulinea.precioManual ? factulinea.precioManual : factulinea.precio %} {% set iva_producto = factulinea.ivaventa %} {% endfor %} {% if dto_col == 0 %} {% endif %}
{{ factulinea.cantidad }} {% if factulinea.articulo %}{{ factulinea.articulo.codigo }}{% endif %} {% if factulinea.articulo %}{{ factulinea.articulo.descripcion }}{% endif %} {{ precio | number_format(2,",",".") }} {% if factulinea.dcto<0 %} {% if factulinea.dcto>-99 %} {{ factulinea.dcto }}% {% endif%} {% if factulinea.dcto<-99 %} ${{ factulinea.dcto }} {% endif %} {% set dto_col=1 %} {% endif%} {% if factulinea.dcto>0 %} {% if factulinea.dcto<99 %} {{ factulinea.dcto }}% {% endif %} {% if factulinea.dcto>99 %} ${{ factulinea.dcto }} {% endif %} {% set dto_col=1 %} {% endif %} {{ (factulinea.importe ) | number_format(2,",",".") }}
{% endblock %} {% block footer %} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {#
Subtotal {{ factura.porcentajeAumtotal > 0 ? "% Aum." : "% Dto." }} Aum. Forma de Pago Des. Forma de Pago{{ factura.porcentajeAumtotal > 0 ? "% Subtotal c/Aum." : "% Subtotal c/Dto." }}
#} {% if factura.porcentajeDesc > 0 %}
SUBTOTAL DESCUENTO TOTAL
$ {{ (factura.subtotal) | number_format(2,",",".") }} $ {{((factura.subtotal )*(factura.porcentajeDesc/100) ) | number_format(2,",",".") }} $ {{ factura.totalFactura | number_format(2,",",".") }}
{% endif %} {# TABLA IVA#} {# #} {# #} {% set total_final = factura.totalCuentaCorriente + factura.totalCheque + factura.totalEfectivo + factura.totalTarjeta + factura.totalMutual + factura.totalFinanciera + factura.totalQr + factura.totalTransferencia %} {# #} {# #} {% if(comprobante.factura.factulineas[0].ivaVenta=='21') %} {% endif %} {% if (comprobante.factura.factulineas[0].ivaVenta=='10.5') %} {% endif %}
Subtotal {{ factura.porcentajeAumtotal > 0 ? "% Aum." : "% Dto." }}Neto % I.V.A. I.V.A.
$ {{ (factura.subtotal) | number_format(2,",",".") }}#} {# {{ ( factura.totalFactura * ( factura.porcentajeAumtotal / 100) ) | number_format(2,",",".") }}#} {# {{ ( comprobante.importeNeto ) | number_format(2,",",".") }} {{ comprobante.factura.factulineas[0].ivaVenta }} {{ ( comprobante.importeIva) | number_format(2,",",".") }} {{ (comprobante.importeNeto) | number_format(2,",",".") }} {{ comprobante.factura.factulineas[0].ivaVenta }} {{ (comprobante.importeIva) | number_format(2,",",".") }}
Condición de Pago: {# {% if factura.formaPago == 'TA' %}Tarjeta{% else %}{{ factura.totalCuentaCorriente ? 'Cuenta Corriente' : 'Contado' }}{% endif %}#} {% if factura.formaPago == 'TA' %} TARJETA {% endif %} {% if factura.formaPago == 'EF' %} EFECTIVO {% endif %} {% if factura.formaPago == 'CC' %} CUENTA CORRIENTE {% endif %} {% if factura.formaPago == 'FI' %} FINANCIERA {% endif %} {% if factura.formaPago == 'MU' %} MUTUAL {% endif %} {% if factura.formaPago == 'DI' %} DIVIDIDO {% endif %} {% if factura.formaPago == 'QR' %} QR {% endif %} {% if factura.formaPago == 'TRAN' %} TRANSFERENCIA {% endif %}
{% if factura.formaPago == 'TA' %}
$ {{ ( factura.Subtotal ) | number_format(2,",",".") }} {{ factura.porcentajeDesc }} $ {{ ( factura.aumentoFormaPago ) | number_format(2,",",".") }} $ {{ ( factura.descuentoFormaPago ) | number_format(2,",",".") }} $ {{ factura.totalFactura | number_format(2,",",".") }}
{% endif %}
TOTAL: $ {{ ( total_final ) | number_format(2,",",".") }}.- {% if factura.totalCuentaCorriente>0 and factura.borrado == 0 %}

PAGO A 30 DIAS DE FECHA DE FACTURA {% endif %}
{# {% if datosTarjetas|length %}#} {# {% for tarjeta in datosTarjetas %}#} {# #} {# #} {# #} {# #} {# {% if tarjeta.tarjeta.tipo == 'CREDITO'%}#} {# #} {# {% endif %}#} {# #} {# {% if tarjeta.aumento>0 %}#} {# #} {# #} {# {% endif %}#} {# {% if tarjeta.descuento>0 %}#} {# #} {# #} {# {% endif %}#} {# {% if tarjeta.tarjeta.tipo == 'CREDITO'%}#} {# {% if tarjeta.cantCuotas>0%}#} {# #} {# {% endif %}#} {# {% if tarjeta.montoCuotas>0%}#} {# #} {# {% endif %}#} {# {% endif %}#} {# #} {# #} {# #} {# #} {# {% if tarjeta.tarjeta.tipo == 'DEBITO'%}#} {# #} {# {% if tarjeta.descuento>0 %}#} {# #} {# #} {# {% endif %}#} {# #} {# {% endif %}#} {# {% if tarjeta.tarjeta.tipo == 'CREDITO'%}#} {# #} {# #} {# #} {# {% if tarjeta.aumento>0 %}#} {# #} {# #} {# {% endif %}#} {# #} {# #} {# {% endif %}#} {# #} {# #} {#
FORMA DE PAGOPLAN DE PAGOIMPORTEAUMENTOFINALDESCUENTOFINALCUOTASMONTO
{{ tarjeta.tarjeta.tipo }}$ {{tarjeta.monto}}$ {{tarjeta.descuento}}$ {{(tarjeta.monto - tarjeta.descuento) | number_format(2,",",".")}}{{ tarjeta.tarjeta.tipo }}{{tarjeta.planPago.nombrePlan}}$ {{tarjeta.monto}}$ {{tarjeta.aumento}}$ {{(tarjeta.monto - tarjeta.aumento) | number_format(2,",",".")}}{{tarjeta.cantCuotas}}$ {{tarjeta.montoCuotas}}
#} {# {% endfor %}#} {# {% endif %}#} {# {% if factura.totalMutual %}#} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {#
MUTUALPLAN DE PAGOCUOTASMONTOMONTO DE CUOTASAUMENTO
{{datosMutual.mutual.nombre}}{{datosMutual.planPago.nombrePlan}}{{datosMutual.planPago.cantSInteres}}$ {{datosMutual.monto}}$ {{datosMutual.MontoCuotas}}$ {{((datosMutual.MontoCuotas * datosMutual.planPago.cantSInteres ) - datosMutual.monto)|round }}
#} {# {% endif %}#} {# {% if factura.totalQr %}#} {#
#} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# {% for pqr in factura.pagosQR %}#} {# #} {# #} {# #} {# #} {# #} {# #} {# {% endfor %}#} {# #} {#
NOMBREIMPORTEDescuento
{{pqr.qr.nombre}}$ {{pqr.monto | number_format(2,",",".") }}$ {{pqr.descuento | number_format(2,",",".") }}{{ pqr.qr.descuento ? pqr.qr.descuento : 0 }}%
#} {# {% endif %}#} {# {% if factura.totalTransferencia %}#} {#
#} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {#
IMPORTE
$ {{factura.totalTransferencia | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalCuentaCorriente %}#} {#
#} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {#
IMPORTECUOTAS
$ {{factura.totalCuentaCorriente| number_format(2,",",".") }}{{factura.cuotasCuentaCorriente}}
#} {# {% endif %}#} {# {% if factura.totalFinanciera %}#} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# {% if datosFinanciera.aumentoFormaPago>0 %}#} {# #} {# {% endif %}#} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# {% if datosFinanciera.aumentoFormaPago>0 %}#} {# #} {# {% endif %}#} {# #} {# #} {#
#} {#
FINANCIERAPLAN PAGOCUOTASMONTOMONTO DE CUOTASAUMENTO
{{datosFinanciera.financiera.nombre}}{{datosFinanciera.planPago.nombrePlan}}{{datosFinanciera.cuotas}}$ {{datosFinanciera.monto}}$ {{datosFinanciera.MontoCuotas}}$ {{datosFinanciera.aumentoFormaPago}}
#} {# {% endif %}#} {% if factura.descuentoMonto > 0 %}
CONCEPTO DESCUENTO
DESCUENTO GENERAL $ {{ factura.descuentoMonto | number_format(2,",",".") }}
{% endif %} {% endblock %} {% block full %}
Régimen de Transparencia Fiscal al Consumidor (Ley 27.718)

IVA Contenido: $ {{ comprobante.importeIva|number_format(2, ',', '.') }}
Otros Impuestos Nacionales Indirectos: $0
{% if not comprobante.codigoQRUri %}
{% else %}
CAE: {{ comprobante.cae }}
Fecha Vencimiento: {{ comprobante.fechaFormateada }}
{% endif %} {#
#} {# CAE: {{ comprobante.cae }}
#} {# Fecha Vencimiento: {{ comprobante.fechaFormateada }}#} {# {% if comprobante.codigoQRUri %}#} {#
#} {# {% endif %}#} {#
#} {% endblock %}