{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% load humanize %} {% block page_title %}{% trans "Transaction History" %}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% trans "Complete transaction log and financial reports" %}
| {% trans "Reference" %} | {% trans "Executed" %} | {% trans "Flow" %} | {% trans "User" %} | {% trans "Order Detail" %} | {% trans "Financial Summary" %} |
|---|---|---|---|---|---|
|
{% if tx.has_linked_order %}
{{ tx.order_reference }}
{% else %}
{% trans "No linked order" %}
{% endif %}
TX #{{ tx.id }}
{% blocktrans count count=tx.order_item_count %}1 line item{% plural %}{{ count }} line items{% endblocktrans %}
|
{{ tx.completed_at|date:"Y-m-d" }}
{{ tx.completed_at|date:"H:i" }}
|
{% if tx.transaction_type == "sell" %}
{% trans "Sell Order" %}
{% trans "Outgoing stock" %}
{% else %}
{% trans "Buy Order" %}
{% trans "Incoming stock" %}
{% endif %}
|
{{ tx.user.username }}
{% if tx.transaction_type == "sell" %}
{% trans "Seller" %}
{% else %}
{% trans "Buyer" %}
{% endif %}
|
{{ tx.type_name }}
{{ tx.quantity|intcomma }} {% trans "units" %}
|
{% trans "Order total" %}
{{ tx.order_total_price|floatformat:0|intcomma }} ISK
{% trans "Quantity" %}
{{ tx.quantity|intcomma }}
{% if tx.order_item_count > 1 %}{% trans "Avg unit" %}{% else %}{% trans "Unit price" %}{% endif %}
{{ tx.unit_price|floatformat:2|intcomma }} ISK
|