{% extends 'dashboard/reports/index.html' %} {% load currency_filters %} {% load i18n %} {% block report %} {% if objects %} {% block report_headings %} {% endblock %} {% for line in objects %} {% block table_values %} {% endblock %} {% endfor %} {% else %} {% endif %}
{% trans 'Product' %} {% trans 'UPC' %} {% trans 'Order number' %} {% trans 'Date placed' %} {% trans 'Quantity' %} {% trans 'Unit Price (excl. tax)' %} {% trans 'Unit Price (inc. tax)' %} {% trans 'Total excl. tax' %} {% trans 'Tax' %} {% trans 'Total incl. tax' %} {% trans 'Country' %}
{% if line.product %} {{line.title}} {% else %} {{ line.title }} {% endif %} {% if line.product is not None %} {{ line.product.upc }} {% else %} {% trans 'Unknown' %} {% endif %} #{{ line.order.number }} {{ line.order.date_placed|date }} {{ line.quantity }} {{ line.unit_price_excl_tax }} {{ line.unit_price_incl_tax }} {{ line.line_price_excl_tax|currency:line.order.currency }} {{ line.line_price_tax|currency:line.order.currency }} {{ line.line_price_incl_tax|currency:line.order.currency }} {{ line.order.shipping_address.country.pk }}
{% trans "No results found." %}
{% include "dashboard/partials/pagination.html" %} {% endblock %}