{% include 'header.twig' %}
{{lang["my_orders"]}}
{{lang["my_orders_desc"]}}
{% for order in orders %}
{{lang["orders.id"]}} : {{ order['id'] }}
{% if order['refillButton'] %}
{% elseif order['cancelButton'] %}
{% else %}
{% endif %} {{ order['service'] }}
{{ order['link'] }}
{{lang["orders.charge"]}}: {{ order['charge'] }} {{lang["orders.quantity"]}}: {{ order['quantity'] }} {{lang["orders.start.count"]}}: {{ order['start_count'] }} {{lang["orders.remains"]}}: {{ order['remains'] }}
{% if order['status'] == lang['orders.status.completed'] %}
{{order['status']}}
{% endif %} {% if order['status'] == lang['orders.status.inprogress'] %}
{{order['status']}}
{% endif %} {% if order['status'] == lang['orders.status.pending'] %}
{{order['status']}}
{% endif %} {% if order['status'] == lang['orders.status.partial'] %}
{{order['status']}}
{% endif %} {% if order['status'] == lang['orders.status.processing'] %}
{{order['status']}}
{% endif %} {% if order['status'] == lang['orders.status.canceled'] %}
{{order['status']}}
{% endif %} {{ order['date'] }}
{% if order['refillButton'] %} {% elseif order['cancelButton'] %} {% endif %}
{% endfor %}
{% if pagination["count"] > 1 %}
    {% if pagination["current"] != 1 %}
  • {% endif %} {% set r, l = 3, 3 %} {% if pagination['current'] == 1 %} {% set r = 7 %} {% endif %} {% if pagination['current'] == 2 %} {% set r = 5 %} {% endif %} {% if pagination['current'] >= pagination['count'] %} {% set l = 5 %} {% endif %} {% for page in 1..pagination["count"] %} {% if page >= (pagination['current']-l) and page <= (pagination['current']+r) %} {{ page }} {%endif%} {% endfor %} {% if pagination['current'] < pagination['count'] %}
  • {% endif %}
{% endif %}
{% include 'footer.twig' %}