1{#**
2 * Copyright since 2007 PrestaShop SA and Contributors
3 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
4 *
5 * NOTICE OF LICENSE
6 *
7 * This source file is subject to the Open Software License (OSL 3.0)
8 * that is bundled with this package in the file LICENSE.md.
9 * It is also available through the world-wide-web at this URL:
10 * https://opensource.org/licenses/OSL-3.0
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@prestashop.com so we can send you a copy immediately.
14 *
15 * DISCLAIMER
16 *
17 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18 * versions in the future. If you wish to customize PrestaShop for your
19 * needs please refer to https://devdocs.prestashop.com/ for more information.
20 *
21 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
22 * @copyright Since 2007 PrestaShop SA and Contributors
23 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
24 *#}
25
26<tr class="column-filters{% if grid.attributes.is_empty_state %} d-none{% endif %}">
27  {% for column in grid.columns %}
28    <td>
29      {% if loop.first and grid.actions.bulk|length > 0 %}
30        {{ include('@PrestaShop/Admin/Common/Grid/Blocks/bulk_actions_select_all.html.twig', {'grid': grid}) }}
31      {% endif %}
32
33      {% if grid.filter_form|length > 1 %}
34        {% if grid.column_filters[column.id] is defined %}
35          {% for filter_name in grid.column_filters[column.id] %}
36            {{ form_widget(grid.filter_form[filter_name]) }}
37          {% endfor %}
38        {% endif %}
39      {% endif %}
40    </td>
41  {% endfor %}
42</tr>
43