{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}
{% extends '@PrestaShop/Admin/layout.html.twig' %}

{% set layoutHeaderToolbarBtn = {
  add: {
    href: path('admin_catalog_price_rules_create'),
    desc: 'Add new catalog price rule'|trans({}, 'Admin.Catalog.Feature'),
    icon: 'add_circle_outline',
  },
}
%}

{% block content %}
  {% block catalog_price_rule_listing %}
    {{ include('@PrestaShop/Admin/Common/Grid/grid_panel.html.twig', {grid: catalogPriceRuleGrid}) }}
  {% endblock %}
{% endblock %}

{% block javascripts %}
  {{ parent() }}

  <script src="{{ asset('themes/default/js/bundle/pagination.js') }}"></script>
  <script src="{{ asset('themes/new-theme/public/catalog_price_rule.bundle.js') }}"></script>
{% endblock %}
