{% extends 'layouts/panel_layout.html.twig' %} {% block title %} Remitos {% endblock %} {% block stylesheets %} {{ encore_entry_link_tags('remitos_ver_remito') }} {% endblock %} {% block content %} {# TITULO #}

Resumen Remito #{{ remito.codremito }}

{# BOTONERA PRINCIPAL #}
{% set totalFiltro = 0 %} {% set importe = remito.totalCuentaCorriente + remito.totalEfectivo %} {% if remito.borrado %} {{ remito.formaPago }} {% set totalFiltro = totalFiltro - importe %} {% else %} {# {{ factura.formaPago }} #} {% set totalFiltro = totalFiltro + importe %} {% endif %} {# Nota de crédito #}

TOTAL:

$ {{ importe| number_format(2,",",".") }}

{# ${{ importe | number_format(2,",",".") }} #} {% set importe = remito.totalCuentaCorriente + remito.totalCheque + remito.totalEfectivo %} {# {% if remito.porcentajeDesc == 0 and remito.porcentajeAum == 0 %}

TOTAL:

$ {{ remito.totalFactura | number_format(2,",",".") }}

{% if remito.borrado != "1" %} {% if remito.formaPago == 'EF' %}
EFECTIVO
{% elseif remito.formaPago == 'CC' %}
CUENTA CORRIENTE
{% elseif remito.formaPago == 'TA' %}
CHEQUE
{% elseif remito.formaPago == 'DI' %}
DIVIDIDO
{% if remito.totalEfectivo %}

EFECTIVO $ {{ remito.totalEfectivo | number_format(2,",",".") }}

{% endif %} {% if remito.totalCuentaCorriente %}

CUENTA CORRIENTE $ {{ remito.totalCuentaCorriente | number_format(2,",",".") }}

{% endif %} {% if remito.totalCheque %}

CHEQUE $ {{ remito.totalCheque | number_format(2,",",".") }}

{% endif %} {% endif %} {% else %} {% if remito.formaPago == 'contado' %}
Nota de Credito a CONTADO
{% elseif remito.formaPago == 'cuenta' %}
Nota de Credito a Cuenta Corriente
{% endif %} {% endif %} {% else %} {% endif %} #}
{# CONTENIDO PRINCIPAL #}
{# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #}
REMITO | DETALLE DE COMPRA
FORMA DE PAGO {{ remito.formaPago | upper }}
OBSERVACION {{ remito.observacion | upper }}
{% if remito.notadebito == '1' and remito.f =='1' %} PUNTO NOTA DEBITO {% endif %} {% if remito.borrado == '1' and remito.f =='1' %} PUNTO NOTA CREDITO {% endif %} {% if remito.f == '1' and remito.borrado == '0'%} PUNTO FACTURA {% endif %} {{ remito.puntoFactura }}
{% if remito.notadebito == '1' and remito.f =='1' %} NUMERO NOTA DEBITO {% endif %} {% if remito.borrado == '1' and remito.f =='1' %} NUMERO NOTA CREDITO {% endif %} {% if remito.f == '1' and remito.borrado == '0'%} NUMERO FACTURA {% endif %} {{ remito.numeroFactura }}
PROVEEDOR {% if remito.proveedor %}{{ remito.proveedor.razonSocial | upper }}{% endif %}
F. INGRESO {{ remito.fechaOperacion | date('d-m-Y') }}
F. FACTURA {{ remito.fechaFactura | date('d-m-Y') }}
COND ANTE IVA {# {{ remito.fechaFactura | date('d-m-Y') }} #}
APLICA PRECIO {# {{ remito.fechaFactura | date('d-m-Y') }} #}
TOTAL REMITO {{ (remito.totalCuentaCorriente + remito.totalEfectivo + remito.totalCheque)| number_format(2,",",".") }}
TOTAL NETO {{ remito.totalNeto | number_format(2,",",".")}}
TOTAL IVA{{ remito.iva | number_format(2,",",".") }}
$ DESCUENTO{{ remito.montodescuento | number_format(2,",",".") }}
PERCEPCIÓN BRUTOS {{ remito.PercepcionBrutos | number_format(2,",",".") }}
% DESCUENTO{{ remito.porcDescuento | number_format(2,",",".") }}
TOTAL NETO 10.5{{ remito.totalneto105 | number_format(2,",",".") }}
TOTAL IVA 10.5{{ remito.totaliva105 | number_format(2,",",".") }}
TOTAL NETO 21{{ remito.totalneto21 | number_format(2,",",".")}}
TOTAL IVA 21{{ remito.totaliva21 | number_format(2,",",".") }}
TOTAL NETO 27{{ remito.totalneto27 | number_format(2,",",".")}}
TOTAL IVA 27{{ remito.totaliva27 | number_format(2,",",".") }}
PERCEPCION IVA{{ remito.percepcionIva | number_format(2,",",".") }}
CONCEPTOS NO GRAVADOS{{ remito.conceptosnogravados | number_format(2,",",".") }}
OTROS CONCEPTOS{{ remito.otrosconceptos | number_format(2,",",".") }}
APORT/PATRON/SUSS/OTROS{{ remito.aportpatronsussotros | number_format(2,",",".") }}
SELLADOS/SELLOS/OTROS{{ remito.selladossellosotros | number_format(2,",",".") }}
RETENCION DE INGRESOS BRUTOS{{ remito.retencioningresosbrutos | number_format(2,",",".") }}
RETENCION DE GANANCIAS{{ remito.retencionganancia | number_format(2,",",".") }}
NOTA DE CRÉDITO {% if remito.borrado == 0 %} NO {% if remito.borrado == 1 %} SI {% endif %} {% endif %}
AFECTA STOCK
AFECTA CAJA {# {{ remito.fechaFactura | date('d-m-Y') }} #}
{% for remitlinea in remito.remitlinea %} {% set precio = remitlinea.costoManual ? remitlinea.costoManual : remitlinea.precio??0 %} {# {# {% set baseimponible = baseimponible + factulinea.importe %}#} {% endfor %}
CANT. CODIGO DESCRIPCION COSTO IMPORTE P. VENTA
{{ remitlinea.cantidad }} {% if remitlinea.articulo %}{{ remitlinea.articulo.codigo }}{% endif %} {% if remitlinea.articulo %}{{ remitlinea.articulo.descripcion }}{% endif %}$#} {# {% if remitlinea.porcdescuento > 0 %}#} {# {{ ( precio - ( precio * remito.porcdescuento /100 ) ) | number_format(2,",",".") }}#} {# {% endif %}#} {# {% if remitlinea.porcentajeAum > 0 %}#} {# porcentajeDesc ???#} {# {{ ( precio + ( precio * remito.porcdescuento /100 ) ) | number_format(2,",",".") }}#} {# {% endif %}#} {# {% if not remitlinea.porcentajeAum and not remitlinea.porcentajeAum %}#} {# {{ precio | number_format(2,",",".") }}#} {# {% endif %}#} $ {{ remitlinea.costo | number_format(2,",",".") }} $ {{ remitlinea.importe | number_format(2,",",".") }} $ {{ remitlinea.articulo.precio??0 | number_format(2,",",".") }}
{# {% set baseimpuestos = baseimponible * ( factura.iva /100) %} {% set precioTotal = baseimponible + baseimpuestos %} #}
{% endblock %} {% block javascripts %} {{ encore_entry_script_tags('remitos_ver_remito') }} {% endblock %}