{% macro sortItem(sort, fieldName, label) %} {% set labelNormalized = label|default(fieldName|title) %} {% if sort.isSortable(fieldName) %} {% if sort.isSortedBy(fieldName) %} {{ labelNormalized }} {% if sort.isSortedAsc(fieldName) %} {% else %} {% endif %} {% else %} {{ labelNormalized }} {% endif %} {% else %} {{ labelNormalized }} {% endif %} {% endmacro %} {% macro filtersBtn(url) %} {% if app.request.query.has('filter') %} {% endif %} Filters {% endmacro %} {% macro filtersModal(url, scrollable = true) %} {% endmacro %} {% macro exportBtn(cases, _path, _pathParams = {}) %}
{% endmacro %} {% macro listingCheckbox(id) %} {% endmacro %} {% macro listingHeaderCheckbox() %} {% endmacro %} {% macro bulkDeleteButton(url, token) %} {% endmacro %}