{% block search %} {% include 'Search/list.html.twig' with {'placeholder': 'test'} %} {% endblock %}
{% for table in tables %} {% set uri = 'foxorders/media/qrcodes/' ~ table.shop.id ~ "/tables/" ~ table.shop.id ~ '-' ~ table.number ~ '.png' %}

{{ table.number }}

qrcode
{% include 'Includes/delete.html.twig' with { 'route': path('foxorders_shop_qrcodes_tables_delete', {'id': table.id}), 'token': csrf_token('delete' ~ table.id), 'button': 'list_delete' } %} {{ link('download', '', 'light-primary', {'image' : uri, 'name': 'qrcodes-tables-' ~ table.number }) }}
{% else %} {{ 'app.global.detail.no_record_found'|trans }} {% endfor %}