{% extends 'facturacion/impresos/impreso_base.html.twig' %} {% set cliente = factura.cliente %} {% block tipo_comprobante %} FACTURA B {% 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 %}
| {{ 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,",",".") }} |
| SUBTOTAL | DESCUENTO | TOTAL |
| $ {{ (factura.subtotal) | number_format(2,",",".") }} | $ {{((factura.subtotal )*(factura.porcentajeDesc/100) ) | number_format(2,",",".") }} | $ {{ factura.totalFactura | number_format(2,",",".") }} |
| Subtotal | #} {#{{ factura.porcentajeAumtotal > 0 ? "% Aum." : "% Dto." }} | #} {#Aum. Forma de Pago | #} {#Des. Forma de Pago | #} {#{{ factura.porcentajeAumtotal > 0 ? "% Subtotal c/Aum." : "% Subtotal c/Dto." }} | #} {#
| {{ ( factura.Subtotal ) | number_format(2,",",".") }} | #} {#{{ factura.porcentajeDesc }} | #} {#{{ ( factura.aumentoFormaPago ) | number_format(2,",",".") }} | #} {#{{ ( factura.descuentoFormaPago ) | number_format(2,",",".") }} | #} {##} {# {{ factura.totalFactura | number_format(2,",",".") }}#} {# |
| FORMA DE PAGO | #} {# {% if tarjeta.tarjeta.tipo == 'CREDITO'%}#} {#PLAN DE PAGO | #} {# {% endif %}#} {#IMPORTE | #} {# {% if tarjeta.aumento>0 %}#} {#AUMENTO | #} {#FINAL | #} {# {% endif %}#} {# {% if tarjeta.descuento>0 %}#} {#DESCUENTO | #} {#FINAL | #} {# {% endif %}#} {# {% if tarjeta.tarjeta.tipo == 'CREDITO'%}#} {# {% if tarjeta.cantCuotas>0%}#} {#CUOTAS | #} {# {% endif %}#} {# {% if tarjeta.montoCuotas>0%}#} {#MONTO | #} {# {% endif %}#} {# {% endif %}#} {#||||||||
| {{ tarjeta.tarjeta.tipo }} | #} {# {% if tarjeta.descuento>0 %}#} {#$ {{tarjeta.monto}} | #} {#$ {{tarjeta.descuento}} | #} {# {% endif %}#} {#$ {{(tarjeta.monto - tarjeta.descuento) | number_format(2,",",".")}} | #} {# {% endif %}#} {# {% if ((tarjeta.tarjeta.tipo == 'CREDITO') and (tarjeta.planPago.id != 132)) %}#} {#{{ tarjeta.tarjeta.tipo }} | #} {#{{tarjeta.planPago.nombrePlan}} | #} {#$ {{tarjeta.monto}} | #} {# {% if tarjeta.aumento>0 %}#} {#$ {{tarjeta.aumento}} | #} {#$ {{(tarjeta.monto + tarjeta.aumento) | number_format(2,",",".")}} | #} {# {% endif %}#} {#{{tarjeta.cantCuotas}} | #} {#$ {{tarjeta.montoCuotas}} | #} {# {% endif %}#} {# {% if ((tarjeta.tarjeta.tipo == 'CREDITO') and (tarjeta.planPago.id == 132)) %}#} {#{{ tarjeta.tarjeta.tipo }} | #} {#{{tarjeta.planPago.nombrePlan}} | #} {#$ {{(tarjeta.monto) | number_format(2,",",".") }} | #} {#{{tarjeta.descuento}} | #} {#$ {{(tarjeta.monto - tarjeta.descuento) | number_format(2,",",".") }} | #} {#$ {{tarjeta.montoCuotas}} | #} {# {% endif %}#} {#
| MUTUAL | #} {#PLAN DE PAGO | #} {#CUOTAS | #} {#MONTO | #} {#MONTO DE CUOTAS | #} {#AUMENTO | #} {#
| {{datosMutual.mutual.nombre}} | #} {#{{datosMutual.planPago.nombrePlan}} | #} {#{{datosMutual.planPago.cantSInteres}} | #} {#$ {{datosMutual.monto}} | #} {#$ {{datosMutual.MontoCuotas}} | #} {#$ {{((datosMutual.MontoCuotas * datosMutual.planPago.cantSInteres ) - datosMutual.monto)|round }} | #} {#
| NOMBRE | #} {#IMPORTE | #} {#DECUENTO | #} {##} {# #} {# #} {# {% for pqr in factura.pagosQR %}#} {# |
| {{pqr.qr.nombre}} | #} {#$ {{pqr.monto | number_format(2,",",".") }} | #} {#$ {{pqr.descuento | number_format(2,",",".") }} | #} {#{{ pqr.qr.descuento ? pqr.qr.descuento : 0 }}% | #} {#
| IMPORTE | #} {#
| $ {{factura.totalTransferencia | number_format(2,",",".") }} | #} {#
| IMPORTE | #} {#CUOTAS | #} {#
| $ {{factura.totalCuentaCorriente| number_format(2,",",".") }} | #} {#{{factura.cuotasCuentaCorriente}} | #} {#
| FINANCIERA | #} {#PLAN PAGO | #} {#CUOTAS | #} {#MONTO | #} {#MONTO DE CUOTAS | #} {# {% if datosFinanciera.aumentoFormaPago>0 %}#} {#AUMENTO | #} {# {% endif %}#} {#
| {{datosFinanciera.financiera.nombre}} | #} {#{{datosFinanciera.planPago.nombrePlan}} | #} {#{{datosFinanciera.cuotas}} | #} {#$ {{datosFinanciera.monto}} | #} {#$ {{datosFinanciera.MontoCuotas}} | #} {# {% if datosFinanciera.aumentoFormaPago>0 %}#} {#$ {{datosFinanciera.aumentoFormaPago}} | #} {# {% endif %}#} {#
| FORMA DE PAGO | IMPORTE | DESCUENTO | TOTAL |
| EFECTIVO | $ {{ ((factura.subtotal - factura.totaltarjeta - factura.totalFinanciera - factura.totalMutual - factura.totalQr - factura.totalTransferencia - factura.totalCuentaCorriente - factura.descuentoFormaPago ) ) | number_format(2,",",".") }} | $ {{((factura.subtotal - factura.totaltarjeta - factura.totalFinanciera - factura.totalMutual - factura.totalQr - factura.totalTransferencia - factura.totalCuentaCorriente - factura.descuentoFormaPago )*(factura.porcentajeDesc/100) ) | number_format(2,",",".") }} | $ {{ factura.TotalEfectivo }} |
| CONCEPTO | DESCUENTO |
| DESCUENTO GENERAL | $ {{ factura.descuentoMonto | number_format(2,",",".") }} |