{% for fecha in fechas %}
GNB Moto Parts de Gonzalo Beatini
Hoja {{ loop.index }}
====================================
C.U.I.T. N°: 20-37299599-9
{{ punto_de_venta }}
{% set month = fecha | date('F') %}
Logística Ventas Generales - Día : {{ fecha | date('d') }} de {{ month | trans }} de {{ fecha | date('Y') }}
{% if tipos | length %}
{% endif %}
Condiciones: {{ tipos | join(', ') }}
{% set total_efectivo = 0 %}
{% set total_cc = 0 %}
{% set total_transf = 0 %}
{% set total_cheque = 0 %}
{% set total_global = 0 %}
{% for r in pages[fecha] %}
{% set total = r.factura.totalFactura %}
Nro. Fac.
Comp. Tipo.
Cond
C.U.I.T
Emitido A
Efectivo
CC
Transf.
Cheque.
Total
{% set total_efectivo = total_efectivo + r.factura.totalEfectivo %}
{% set total_cc = total_cc + r.factura.totalCuentaCorriente %}
{% set total_transf = total_transf + r.factura.totalTransferencia %}
{% set total_cheque = total_cheque + r.factura.totalCheque %}
{% set total_global = total_global + total %}
{% endfor %}
{{ r.codigo }}
{{ r.tipoComp }}
{% if r.condicionIva %}{{ r.condicionIva }}{% endif %}
{{ r.cuil }}
{{ r.nomCliente }}
{{ r.factura.totalEfectivo | number_format(2, ',', '.') }}
{{ r.factura.totalCuentaCorriente | number_format(2, ',', '.') }}
{{ r.factura.totalTransferencia | number_format(2, ',', '.') }}
{{ r.factura.totalCheque | number_format(2, ',', '.') }}
{{ total | number_format(2, ',', '.') }}
Efectivo
CC
Transf.
Cheque.
Total
Total del día:
{{ total_efectivo | number_format(2) }}
{{ total_cc | number_format(2) }}
{{ total_transf | number_format(2) }}
{{ total_cheque | number_format(2) }}
{{ total_global | number_format(2) }}
GNB Moto Parts de Gonzalo Beatini
Hoja 1
====================================
C.U.I.T. N°: 20-37299599-9
Efectivo
CC
Transf.
Cheque.
Total
Total del día:
{{ total_efectivo | number_format(2) }}
{{ total_cc | number_format(2) }}
{{ total_transf | number_format(2) }}
{{ total_cheque | number_format(2) }}
{{ total_global | number_format(2) }}