{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% load humanize %} {% block page_title %}{% trans "Material Exchange History" %}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% trans "Sell Orders" %}
{{ sell_history|length }}
{% if sell_history %}
{% for order in sell_history %} {% endfor %}
{% trans "Ref" %} {% trans "Seller" %} {% trans "Total" %} {% trans "Status" %} {% trans "Date" %}
{{ order.order_reference }} {{ order.seller.username }} {{ order.total_price|floatformat:0|intcomma }} ISK {{ order.get_status_display }} {{ order.created_at|date:"Y-m-d H:i" }}
{% else %}

{% trans "No closed sell orders." %}

{% endif %}
{% trans "Buy Orders" %}
{{ buy_history|length }}
{% if buy_history %}
{% for order in buy_history %} {% endfor %}
{% trans "Ref" %} {% trans "Buyer" %} {% trans "Total" %} {% trans "Status" %} {% trans "Date" %}
{{ order.order_reference }} {{ order.buyer.username }} {{ order.total_price|floatformat:0|intcomma }} ISK {{ order.get_status_display }} {{ order.created_at|date:"Y-m-d H:i" }}
{% else %}

{% trans "No closed buy orders." %}

{% endif %}
{% endblock content %}