{% import "qr_slip_snippet.html" as qr_slip_snippet %} Empfangsschein {% set count = 0 %} {% for qr_data in qr_data_vec %} {% set qr_code = qr_code_vec[loop.index0] %} {{qr_slip_snippet::slip(qr_data=qr_data, qr_code=qr_code)}} {% set count = count + 1 %} {% if count is not odd %}
{% endif %} {% endfor %}