{#
 # 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' %}

{% block content %}
  {% block discount_listing %}
    {{ include('@PrestaShop/Admin/Common/Grid/Blocks/filter_link_group.html.twig', {
      grid: discountGrid,
      filter_name: 'period_filter',
    }) }}
    {{ include('@PrestaShop/Admin/Common/Grid/grid_panel.html.twig', {grid: discountGrid}) }}
  {% endblock %}

  {{ include('@PrestaShop/Admin/Sell/Catalog/Discount/create_discount_modal.html.twig') }}
{% endblock %}

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

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