{% extends "customer/baseaccountpage.html" %} {% load i18n %} {% load currency_filters %} {% load staticfiles %} {% load bootstrap4 %} {% block tabcontent %} {% if orders or form.is_bound %}
{% bootstrap_field form.date_from %}
{% bootstrap_field form.date_to %}
{% bootstrap_field form.order_number %}
{% trans 'Reset' %}
{% endif %}
{% if orders %}

{{ form.description }}

{% for order in orders %}
Items

    {% for line in order.lines.all %}
  1. {{ line.title }}
  2. {% endfor %}
Total: {{ order.total_incl_tax|currency:order.currency }}
Date: {{ order.date_placed|date }}
Order No: {{ order.number }}
{% endfor %}
{% include "partials/pagination.html" %}
{% else %} {% if form.is_bound %}

{% trans "No orders match your search." %}

{% else %}

{% trans "You haven't placed any orders." %}

{% endif %} {% endif %}
{% endblock tabcontent %}