{% if template_data and template_data.elements %} {% set page_index = namespace(val=0) %} {% for sample_type, test_names in tests_by_sample_type.items() %}
{{ sample_type }} ({{ test_names | join(', ') }})
Barcode - {{ sample_type }}
{% set page_index.val = page_index.val + 1 %} {% endfor %} {% else %}

⚠️ No Barcode Design Found

Please create and save a barcode design in the Barcode Designer first.

{% endif %}