{% for fecha in fechas %}
Club94 Sport Center de Caramellino Gustavo
Hoja {{ loop.index }}
====================================
C.U.I.T.: 20-14305977-5
{{ 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 %}
{% if financieras | length %}
Condiciones: {{ tipos | join(', ') }}
{% endif %}
{% if mutuales | length %}
Financiera: {{ financieras | join(', ') }}
{% endif %}
{% if qrs | length %}
Mutual: {{ mutuales | join(', ') }}
{% endif %}
QR: {{ qrs | join(', ') }}
{% set total_efectivo = 0 %}
{% set total_cc = 0 %}
{% set total_tarj = 0 %}
{% set total_transf = 0 %}
{% set total_cheque = 0 %}
{% set total_fianciera = 0 %}
{% set total_mutual = 0 %}
{% set total_qr = 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
Tarj.
Transf.
Cheque.
Fianciera
Mutual
QR
Total
{% set total_efectivo = total_efectivo + r.factura.totalEfectivo %}
{% set total_cc = total_cc + r.factura.totalCuentaCorriente %}
{% set total_tarj = total_tarj + r.factura.totalTarjeta %}
{% set total_transf = total_transf + r.factura.totalTransferencia %}
{% set total_cheque = total_cheque + r.factura.totalCheque %}
{% set total_fianciera = total_fianciera + r.factura.totalFinanciera %}
{% set total_mutual = total_mutual + r.factura.totalMutual %}
{% set total_qr = total_qr + r.factura.totalQr %}
{% 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.totalTarjeta | number_format(2, ',', '.') }}
{{ r.factura.totalTransferencia | number_format(2, ',', '.') }}
{{ r.factura.totalCheque | number_format(2, ',', '.') }}
{{ r.factura.totalFinanciera | number_format(2, ',', '.') }}
{{ r.factura.totalMutual | number_format(2, ',', '.') }}
{{ r.factura.totalQr | number_format(2, ',', '.') }}
{{ total | number_format(2, ',', '.') }}
Efectivo
CC
Tarj.
Transf.
Cheque.
Fianciera
Mutual
QR
Total
Total del día:
{{ total_efectivo | number_format(2) }}
{{ total_cc | number_format(2) }}
{{ total_tarj | number_format(2) }}
{{ total_transf | number_format(2) }}
{{ total_cheque | number_format(2) }}
{{ total_fianciera | number_format(2) }}
{{ total_mutual | number_format(2) }}
{{ total_qr | number_format(2) }}
{{ total_global | number_format(2) }}