{% extends 'layouts/panel_layout.html.twig' %} {% block title %} Facturación {% endblock %} {% block stylesheets %} {{ encore_entry_link_tags('facturacion_ver_factura') }} {% endblock %} {% block content %} {# TITULO #}
CHEQUE ${{ factura.totalCheque | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'TA' %}#} {# {% if factura.totalTarjeta > 0 %}#} {#TARJETA ${{ factura.totalTarjeta | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'EF' %}#} {# {% if factura.totalEfectivo > 0 %}#} {#EFECTIVO ${{ factura.totalEfectivo | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'CC' %}#} {# {% if factura.totalCuentaCorriente > 0 %}#} {#CUENTA CORRIENTE ${{ factura.totalCuentaCorriente | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'MU' %}#} {# {% if factura.totalMutual > 0 %}#} {#MUTUAL ${{ factura.totalMutual | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'FI' %}#} {# {% if factura.totalFinanciera > 0 %}#} {#FINANCIERA ${{ factura.totalFinanciera | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'TRAN' %}#} {# {% if factura.totalTransferencia > 0 %}#} {#TRANSFERENCIA ${{ factura.totalTransferencia | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'QR' %}#} {# {% if factura.totalQr > 0 %}#} {#QR ${{ factura.totalQr | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if factura.formaPago == 'DI' %}#} {# {% if factura.totalCheque > 0 %}#} {#CHEQUE ${{ factura.totalCheque | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalFinanciera > 0 %}#} {#FINANCIERA ${{ factura.totalFinanciera | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalTransferencia > 0 %}#} {#TRANSFERENCIA ${{ factura.totalTransferencia | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalCuentaCorriente > 0 %}#} {#CUENTA CORRIENTE ${{ factura.totalCuentaCorriente | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalMutual > 0 %}#} {#MUTUAL ${{ factura.totalMutual | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalTarjeta > 0 %}#} {#TARJETA ${{ factura.totalTarjeta | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalEfectivo > 0 %}#} {#EFECTIVO ${{ factura.totalEfectivo | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totalQr > 0 %}#} {#QR ${{ factura.totalQr | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.aumentoFormaPago > 0 %}#} {#Aumento FORMA DE PAGO ${{ factura.aumentoFormaPago | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% endif %}#} {# {% if (factura.porcentajeDesc > 0) or (factura.descuentoFormaPago>0) or (factura.descuentoMonto>0) %}#} {# #} {#DESCUENTO POR PAGO EFECTIVO -${{ factura.descuentoEfectivo | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.descuentoMonto > 0 %}#} {#DESCUENTO GENERAL -${{ factura.descuentoMonto | number_format(2,",",".") }}
#} {# {% endif %}#} {# {% if factura.totaltarjeta>0 %}#} {# {% if factura.descuentoFormaPago > 0 %}#} {#DESCUENTO POR MEDIOS DE PAGO -${{ factura.descuentoFormaPago | number_format(2,",",".") }}
#} {#DESCUENTO POR MEDIOS DE PAGO -${{ factura.descuentoFormaPago | number_format(2,",",".") }}
#} {#
DETALLES FINANCIERA |
|
FINANCIERA | {{datosFinanciera.financiera.nombre}} |
PLAN DE PAGO | {{datosFinanciera.planPago.nombrePlan}} |
CUOTAS | {{datosFinanciera.cuotas}} |
MONTO | {{datosFinanciera.monto}} |
MONTO DE CUOTAS | {{datosFinanciera.MontoCuotas}} |
AUMENTO | {{datosFinanciera.aumentoFormaPago}} |
DETALLES MUTUAL |
|
MUTUAL | {{datosMutual.mutual.nombre}} |
PLAN DE PAGO | {{datosMutual.planPago.nombrePlan}} |
CUOTAS | {{datosMutual.planPago.cantSInteres}} |
MONTO | {{datosMutual.monto}} |
MONTO DE CUOTAS | {{datosMutual.MontoCuotas}} |
AUMENTO | {{((datosMutual.MontoCuotas * datosMutual.planPago.cantSInteres ) - datosMutual.monto)|round }} |
DETALLES TARJETA |
||
MODALIDAD | {{tarjeta.tarjeta.tipo}} | |
TIPO | {{tarjeta.tarjeta.descripcion}} | |
PLAN DE PAGO | {{tarjeta.planPago.nombrePlan}} | |
CUOTAS | {{tarjeta.cantCuotas}} | |
MONTO CUOTAS | {{tarjeta.MontoCuotas}} | |
MONTO | {{tarjeta.monto}} | |
AUMENTO | {% if tarjeta.planPago and tarjeta.planPago.PorcentajeAumento > 1 %}{{((tarjeta.MontoCuotas * tarjeta.planPago.cantSInteres ) - tarjeta.monto)|round }} | {% else %}0 | {% endif %}
DESCUENTO | {{tarjeta.descuento}} | {% endif %}|
NUMERO TARJETA | {{tarjeta.numero}} | |
LOTE | {{tarjeta.lote}} | |
TICKET/CUPON | {{tarjeta.ticket}} |
PAGO EN EFECTIVO |
|
TOTAL SIN DESCUENTO | {{ ((factura.subtotal - factura.totaltarjeta - factura.totalFinanciera - factura.totalMutual - factura.totalQr - factura.totalTransferencia - factura.totalCuentaCorriente - factura.descuentoFormaPago ) ) | number_format(2,",",".") }} |
DESCUENTO | {{((factura.subtotal - factura.totaltarjeta - factura.totalFinanciera - factura.totalMutual - factura.totalQr - factura.totalTransferencia - factura.totalCuentaCorriente - factura.descuentoFormaPago )*(factura.porcentajeDesc/100) ) | number_format(2,",",".") }} |
TOTAL EFECTIVO | {{factura.totalEfectivo}} |
PAGO EN CUENTA CORRIENTE |
|
TOTAL CUENTA CORRIENTE | {{factura.totalCuentaCorriente}} |
CUOTAS | {{factura.cuotasCuentaCorriente}} |
DETALLES PAGO QR |
|||
SERVICIO | MONTO | DESCUENTO | TOTAL |
{{pqr.qr.nombre}} | $ {{pqr.monto | number_format(2,",",".") }} | $ {{pqr.descuento | number_format(2,",",".") }} | $ {{(pqr.monto - pqr.descuento) | number_format(2,",",".") }} |
DETALLES PAGO |
|
SERVICIO | Transferencia |
MONTO | $ {{factura.totalTransferencia | number_format(2,",",".") }} |
DEPOSITO DESTINO | DETALLE DEL PEDIDO |
|
NRO. FACTURA | {{ factura.codfactura }} |
NRO. COMPROBANTE | #} {##} {# {% if factura.primerComprobante %}#} {# {{ factura.primerComprobante.nroComp }}#} {# {% endif %}#} {# | #}
FECHA | {{ factura.fechaOperacion | date('d/m/Y') }} |
DEPOSITO DESTINO | {{ factura.deposito.nombre }} |
DEPOSITO DE ORIGEN | {{ factura.vendedor.id }} |
DIRECCION | {{ factura.deposito.domicilio }} |
TELEFONO CELULARL | {{ factura.deposito.TeleCelular }} |
TELEFONO COMERCIAL | {{ factura.deposito.telefonofijo }} |
TEL. CELULAR | #} {##} {# {{ factura.cliente.caracTelcel }} {{ factura.cliente.telefonoCelular }}#} {# | #}
E-MAIL {{ factura.deposito.id }} | {{ factura.deposito.email }} |
SUBTOTAL | {{ factura.subtotal }} |
PORCENTAJE AUMENTO | #} {#{{ factura.porcentajeAum }} | #} {#
PORCENTAJE DESCUENTO | #} {#{{ factura.porcentajeDesc }} | #} {#AUMENTO POR FORMA DE PAGO | #} {#{{ factura.aumentoFormaPago }} | #} {# #} {#
DESCUENTO POR FORMA DE PAGO | #} {#{{ factura.descuentoFormaPago }} | #} {#
TOTAL | {{ factura.totalFactura }} |
#}
{# SALDO ACTUAL EN CUENTA CORRIENTE = $#}
{# #}
{# {% if factura.cliente.cuentaCorriente %}#}
{# {{ factura.cliente.cuentaCorriente.monto | number_format(2,",",".") }}#}
{# {% else %}#}
{# 0,00#}
{# {% endif %}#}
{# #}
{# #}
{# | #}
{#
CANT. | CODIGO | DESCRIPCION | P.UNIT | IMPORTE |
{{ factulinea.cantidad }} | {% if factulinea.articulo %}{{ factulinea.articulo.codigo }}{% endif %} | {% if factulinea.articulo %}{{ factulinea.articulo.descripcionAmpliada }}{% endif %} | $ {{ precio | number_format(2,",",".") }} {# {% if factura.porcentajeDesc > 0 %}#} {# {{ ( precio - ( precio * factura.porcentajeDesc /100 ) ) | number_format(2,",",".") }}#} {# {% endif %}#} {# {% if factura.porcentajeAum > 0 %}#} {# #}{# porcentajeDesc ??? #} {# {{ ( precio + ( precio * factura.porcentajeDesc /100 ) ) | number_format(2,",",".") }}#} {# {% endif %}#} {# {% if not factura.porcentajeAum and not factura.porcentajeAum %}#} {# {{ precio | number_format(2,",",".") }}#} {# {% endif %}#} | $ {{ factulinea.importe | number_format(2,",",".") }} |