{% import '@PrestaShop/Admin/layout.html.twig' as layout %}

<script type="text/javascript" src="{{ asset('js/admin/legacy/order/index.js', 'GlsPoland') }}"></script>

<template id="gls_poland_bulk_actions_template">
  {% for action in bulk_actions %}
    <li>
      <a href="#" class="js-gls-poland-submit-bulk-action" data-url="{{ action.url }}">
        <i class="icon-{{ action.icon }}"></i>
        {{ action.name }}
      </a>
    </li>
  {% endfor %}
</template>

{% if session.flashbag.peek('glspoland_error')|length() > 0 %}
  {{ layout.alert('danger', session.flashbag.get('glspoland_error')) }}
{% endif %}

{% if session.flashbag.peek('glspoland_success')|length() > 0 %}
  {{ layout.alert('success', session.flashbag.get('glspoland_success')) }}
{% endif %}
