{#
 # 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 stylesheets %}
  {{ parent() }}
  <link rel="stylesheet" href="{{ asset('themes/new-theme/public/orders' ~ rtl_suffix ~ '.css') }}" type="text/css" media="all">
{% endblock %}

{% block content %}
  <div id="order-creation-container">
    {{ include('@PrestaShop/Admin/Sell/Order/Order/Blocks/Create/customer.html.twig') }}
    <div id="js-cart-info-wrapper">
      {{ include('@PrestaShop/Admin/Sell/Order/Order/Blocks/Create/cart.html.twig') }}
      {{ include('@PrestaShop/Admin/Sell/Order/Order/Blocks/Create/cart_rules.html.twig') }}
      {{ include('@PrestaShop/Admin/Sell/Order/Order/Blocks/Create/addresses.html.twig') }}
      {{ include('@PrestaShop/Admin/Sell/Order/Order/Blocks/Create/shipping.html.twig') }}
      {{ include('@PrestaShop/Admin/Sell/Order/Order/Blocks/Create/summary.html.twig') }}
    </div>
  </div>
{% endblock %}

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

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

{% set js_translatable = {
  'Customer search - group default': 'default'|trans({}, 'Admin.Orderscustomers.Feature'),
  'Customer search - group label single': 'Group'|trans({}, 'Admin.Orderscustomers.Feature'),
  'Customer search - group label multiple': 'Groups'|trans({}, 'Admin.Orderscustomers.Feature'),
}|merge(js_translatable)
%}
