{% 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') %} {% if tipos | length %} {% endif %} {% 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 %} {% 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 %}
Logística Ventas Generales - Día : {{ fecha | date('d') }} de {{ month | trans }} de {{ fecha | date('Y') }}
Condiciones: {{ tipos | join(', ') }}
Nro. Fac. Comp. Tipo. Cond C.U.I.T Emitido A Efectivo CC Transf. Cheque. Total
{{ 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) }}
{% endfor %} {% if not fechas | length %}
GNB Moto Parts de Gonzalo Beatini Hoja 1
====================================
C.U.I.T. N°: 20-37299599-9
{% set total_efectivo = 0 %} {% set total_cc = 0 %} {% set total_transf = 0 %} {% set total_cheque = 0 %} {% set total_global = 0 %}
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) }}
{% endif %}