{% extends "layouts/base.twig" %} {% block title %}{{ translations.client_order }}{% endblock %} {% block page_heading %}

{{ translations.client_order }}

{{ translations.client_order_subtitle }}

{% include "page_components/messages.twig" %} {% endblock %} {% block content %}

{{ translations.search_for_order }}

{{ translations.orders }}

{% for statusId, orders in groupedOrders %}
{{ orderStatuses[statusId] }}
{% for order in orders %}
{{ order.AcceptingTimestamp }}
{% if order.idTransaction is null %} {% endif %}
{{ order.client.AbsoluteName }}
{{ order.client.phone }}
{{ translations.pick_up_datetime_short }} : {{ order.PickUpDatetime }}
{{ translations.comment }}:
{{ order.comment }}
{{ translations.to_be_paid }}: {% if order.idTransaction is not null %} {% if order.getIdPaymentType == 0 %} {{ translations.deferral }} {% else %} {{ translations.already_paid }} {% endif %} {% else %} {{ order.TotalOrderValue|number_format(2, ',', ' ') }} {{ order.currency }} {% endif %}
{% if order.idOrderStatus != 3 and order.idOrderStatus != 5 %} {% else %} {% endif %}
{% endfor %}

{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}