{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% load humanize %} {% block page_title %}{% trans "Sell Order Details" %} - {{ order.order_reference }}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% trans "Order Reference" %}
{{ order.order_reference }}
{% trans "Corporation" %}: {{ corporation_name }} {% trans "Total" %}: ISK
{% if order.status != 'completed' and order.status != 'rejected' and order.status != 'cancelled' %} {% trans "Delete" %} {% endif %}
{% trans "Order Status" %}

{{ order.get_status_display }}

{% trans "Created:" %} {{ order.created_at|date:"Y-m-d H:i" }}
{% if order.status == 'draft' or order.status == 'awaiting_validation' or order.status == 'anomaly' or order.status == 'anomaly_rejected' or order.status == 'validated' %}
{% trans "How This Works" %}

{% trans "You create an Item Exchange contract to the corporation with the details below. The system auto-validates the contract once it matches." %}

  1. {% trans "Type:" %} {% trans "Item Exchange" %}
  2. {% trans "Assign to:" %} {{ corporation_name }}
  3. {% trans "Location:" %} {{ config.structure_name }}
  4. {% trans "Price:" %} {{ order.total_price|floatformat:0|intcomma }} ISK
  5. {% trans "Title/Description:" %} {{ order.order_reference }} ({% trans "REQUIRED!" %})
  6. {% trans "Duration:" %} {% trans "4 weeks" %}
{% trans "Important:" %} {% trans "Include the exact order reference in the contract title. Once the contract matches these details, validation happens automatically within a few minutes." %}
{% endif %}
{% trans "Items" %} ({{ items.count }})
{% if order.status != 'draft' and order.status != 'awaiting_validation' %} {% endif %} {% for item in items %} {% if order.status != 'draft' and order.status != 'awaiting_validation' %} {% endif %} {% endfor %} {% if order.status != 'draft' %} {% endif %}
{% trans "Item" %} {% trans "Quantity" %} {% trans "Unit Price" %} {% trans "Total" %}{% trans "Validated" %}
{{ item.type_name }} {{ item.quantity|intcomma }} {{ item.unit_price|floatformat:2|intcomma }} ISK {{ item.total_price|floatformat:2|intcomma }} ISK {% if item.esi_contract_validated %} {% else %} {% endif %}
{% trans "TOTAL PAYOUT:" %} {{ order.total_price|floatformat:0|intcomma }} ISK
{% trans "Timeline" %}
{% for step in timeline %}
{{ step.status }}
{% if step.timestamp %} {{ step.timestamp|date:"Y-m-d H:i" }} {% endif %} {% if step.user %}
{{ step.user }}
{% endif %}
{% endfor %}
{% if order.notes %}
{% if order.status == 'anomaly' or order.status == 'anomaly_rejected' or order.status == 'rejected' or order.status == 'cancelled' %} {% else %} {% endif %} {% trans "Notes" %}

{{ order.notes|linebreaksbr }}

{% endif %}
{% if order.notes and order.status == 'anomaly' or order.notes and order.status == 'anomaly_rejected' %} {% endif %}
{% endblock content %}