{% for fecha in fechas %}
Club94 Sport Center de {{ app.user.nombre }}
Hoja {{ loop.index }}
====================================
C.U.I.T.: 23 - 11914216- 6
Avenida Freyre, Santa Fe
{% set month = fecha | date('F') %}
Libro I.V.A. Compras - Día :
{{ fecha | date('d') }} de {{ month | trans }} de {{ fecha | date('Y') }}
{% set total_g21 = 0 %}
{% set total_g10 = 0 %}
{% set total_g27 = 0 %}
{% set total_exento = 0 %}
{% set total_iva10 = 0 %}
{% set total_iva21 = 0 %}
{% set total_iva27 = 0 %}
{% set total_percepcion_iva = 0 %}
{% set total_no_gravados = 0 %}
{% set total_otros_conceptos = 0 %}
{% set total_aport_suss = 0 %}
{% set total_sellos_otros = 0 %}
{% set total_iibb = 0 %}
{% set total_retencion_ganancia = 0 %}
{% set total_global = 0 %}
{% for r in pages[fecha] %}
{% set total = r.TotalNeto21 + r.TotalNeto105 + r.TotalNeto27 + r.Totaliva21 + r.Totaliva105 + r.Totaliva27 + r.RetencionIngresosBrutos + r.RetencionGanancia + r.OtrosConceptos + r.ConceptosNoGravados %}
FECHA
TIPO
FACTURA
C.U.I.T
Emitido A
Grav 21%
Grav 10,5%
Grav 27%
I.V.A. 21%
I.V.A. 10,5%
I.V.A. 27%
PERC. IVA
C NO GRA.
OTROS CONC.
AP/PA/SUSS
SE/OTR/
RET. IIBB
RET. DE GAN.
TOTAL
{% set total_g21 = total_g21 + r.TotalNeto21 %}
{% set total_g10 = total_g10 + r.TotalNeto105%}
{% set total_g27= total_g27 + r.TotalNeto27%}
{% set total_exento = 0 %}
{% set total_iva21 = total_iva21 + r.Totaliva21%}
{% set total_iva10 = total_iva10 + r.Totaliva105 %}
{% set total_iva27 = total_iva27 + r.Totaliva27 %}
{% set total_percepcion_iva = total_percepcion_iva + r.PercepcionIva %}
{% set total_no_gravados = total_no_gravados + r.ConceptosNoGravados %}
{% set total_otros_conceptos = total_otros_conceptos + r.OtrosConceptos %}
{% set total_aport_suss = total_aport_suss + r.AportPatronSussOtros %}
{% set total_sellos_otros = total_sellos_otros + r.SelladosSellosOtros %}
{% set total_iibb = total_iibb + r.RetencionIngresosBrutos %}
{% set total_retencion_ganancia = total_retencion_ganancia + r.RetencionGanancia %}
{% set total_global = total_global + r.TotalRemito %}
{% endfor %}
{{ r.FechaFactura | date('d/m/Y') }}
{% if r.borrado == '1' %}
{% if r.CondAnteIva == '3' or r.CondAnteIva == '4' or r.CondAnteIva == '6' %}
NC-B
{% endif %}
{% if r.CondAnteIva == '1' or r.CondAnteIva == '2' or r.CondAnteIva == '5' %}
NC-A
{% endif %}
{% endif %}
{% if r.borrado == '0' %}
{% if r.CondAnteIva == '3' or r.CondAnteIva == '4' or r.CondAnteIva == '6' %}
FC-B
{% endif %}
{% if r.CondAnteIva == '1' or r.CondAnteIva == '2' or r.CondAnteIva == '5' %}
FC-A
{% endif %}
{% endif %}
{% if r.notadebito == '1' %}
{% if r.CondAnteIva == '3' or r.CondAnteIva == '4' or r.CondAnteIva == '6' %}
NB-B
{% endif %}
{% if r.CondAnteIva == '1' or r.CondAnteIva == '2' or r.CondAnteIva == '5' %}
NB-A
{% endif %}
{% endif %}
{{ r.PuntoFactura }}-{{ r.NumeroFactura }}
{{ r.cuilt }}
{{ r.razonSocial }}
{{ r.TotalNeto21 | number_format(2, ',', '.') }}
{{ r.TotalNeto105 | number_format(2, ',', '.') }}
{{ r.TotalNeto27 | number_format(2, ',', '.') }}
{{ r.Totaliva21 | number_format(2, ',', '.') }}
{{ r.Totaliva105 | number_format(2, ',', '.') }}
{{ r.Totaliva27 | number_format(2, ',', '.') }}
{{ r.PercepcionIva | number_format(2, ',', '.') }}
{{ r.ConceptosNoGravados | number_format(2, ',', '.') }}
{{ r.OtrosConceptos | number_format(2, ',', '.') }}
{{ r.AportPatronSussOtros | number_format(2, ',', '.') }}
{{ r.SelladosSellosOtros | number_format(2, ',', '.') }}
{{ r.RetencionIngresosBrutos | number_format(2, ',', '.') }}
{{ r.RetencionGanancia | number_format(2, ',', '.') }}
{{ r.TotalRemito | number_format(2, ',', '.') }}
Gravado 21%
Gravado 10,5%
Gravado 27%
I.V.A. 21%
I.V.A. 10,5%
I.V.A. 27%
PERC. IVA
C NO GRA.
OTROS CONC.
AP/PA/SUSS
SE/OTR/
RET. IIBB.
RET. GAN.
TOTAL
{# Total del día:
-------------------
-------------------
-------------------
{{ total_g21 | number_format(2) }}
{{ total_g10 | number_format(2) }}
{{ total_g27 | number_format(2) }}
{{ total_iva21 | number_format(2) }}
{{ total_iva10 | number_format(2) }}
{{ total_iva27 | number_format(2) }}
{{ total_percepcion_iva | number_format(2) }}
{{ total_no_gravados | number_format(2) }}
{{ total_otros_conceptos | number_format(2) }}
{{ total_aport_suss | number_format(2) }}
{{ total_sellos_otros | number_format(2) }}
{{ total_iibb | number_format(2) }}
{{ total_retencion_ganancia | number_format(2) }}
{{ total_global | number_format(2) }}
#}
{# #}
Total Acumulado: #}
{# #}
{# #}
{# #}
{# {{ total_g21 | number_format(2) }} #}
{# {{ total_g10 | number_format(2) }} #}
{# {{ total_g27 | number_format(2) }} #}
{# {{ total_iva21 | number_format(2) }} #}
{# {{ total_iva10 | number_format(2) }} #}
{# {{ total_iva27 | number_format(2) }} #}
{# {{ total_percepcion_iva | number_format(2) }} #}
{# {{ total_no_gravados | number_format(2) }} #}
{# {{ total_otros_conceptos | number_format(2) }} #}
{# {{ total_aport_suss | number_format(2) }} #}
{# {{ total_sellos_otros | number_format(2) }} #}
{# {{ total_iibb | number_format(2) }} #}
{# {{ total_retencion_ganancia | number_format(2) }} #}
{# {{ total_global | number_format(2) }} #}
{#