{#
 # 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 %}
  <div class="card" data-role="messages-thread">
    <h3 class="card-header">
      {{ 'Customer thread #%id%'|trans({'%id%': customerThreadView.customerThreadId.value}, 'Admin.Orderscustomers.Feature') }}
    </h3>
    <div class="card-body">
      {% block customer_thread_actions %}
        {{ include('@PrestaShop/Admin/Sell/CustomerService/CustomerThread/Block/thread_actions.html.twig') }}
      {% endblock %}

      {% block customer_information %}
        {{ include('@PrestaShop/Admin/Sell/CustomerService/CustomerThread/Block/customer_information.html.twig') }}
      {% endblock %}

      {% block customer_thread_messages %}
        {{ include('@PrestaShop/Admin/Sell/CustomerService/CustomerThread/Block/thread_messages.html.twig') }}
      {% endblock %}
    </div>
  </div>

  {% block customer_thread_reply %}
    {{ include('@PrestaShop/Admin/Sell/CustomerService/CustomerThread/Block/your_answer.html.twig') }}
  {% endblock %}

  {% block customer_thread_timeline %}
    {{ include('@PrestaShop/Admin/Sell/CustomerService/CustomerThread/Block/timeline.html.twig') }}
  {% endblock %}

{% endblock %}

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

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