{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% load humanize %} {% load tz %} {% block page_title %}{% trans "Sell Materials to Hub" %}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}

{% trans "Pricing Formula" %}

{% if config.sell_markup_base == 'sell' %} {% trans "Jita Sell Price" %} {% else %} {% trans "Jita Buy Price" %} {% endif %} {% if config.sell_markup_percent > 0 %} + {{ config.sell_markup_percent }}% {% elif config.sell_markup_percent < 0 %} {{ config.sell_markup_percent }}% {% else %} ({% trans "no markup" %}) {% endif %}
{% trans "Enter the quantities you want to sell. Make sure you have the items in your hangar." %}
{% if sell_assets_progress.error == "missing_assets_scope" %}
{% trans "Missing assets token: add the ESI assets scope to load your assets." %}
{% trans "Add assets token" %}
{% endif %} {% if assets_refreshing %}
{% trans "Loading your asset inventory. This may take a moment..." %}
{% endif %}

{% trans "Last update" %}: {% if sell_last_update %} {{ sell_last_update|timezone:"UTC"|date:"Y-m-d H:i" }} EVE {% else %} {% trans "Never" %} {% endif %}

{% if materials %}
{% trans "Your Materials at" %} {{ config.structure_name }}
{% csrf_token %}
{% for item in materials %} {% endfor %}
{% trans "Item" %} {% trans "You Own" %} {% trans "Unit Price" %} {% trans "Quantity" %}
{{ item.type_name }} {{ item.type_name }} {{ item.user_quantity|intcomma }} {{ item.buy_price_from_member|floatformat:2|intcomma }} ISK
{% trans "Max:" %} {{ item.user_quantity|intcomma }}
{% trans "Sell Summary" %}

{% trans "Enter quantities to see your payout" %}

{% trans "Total Payout" %} 0 ISK
{% else %} {% if not assets_refreshing %}
{% trans "No materials available for selling. Please contact an admin." %}
{% endif %} {% endif %}
{% endblock content %}