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

{% trans "Pricing Formula" %}

{% if config.buy_markup_base == 'sell' %} {% trans "Jita Sell Price" %} {% else %} {% trans "Jita Buy Price" %} {% endif %} {% if config.buy_markup_percent > 0 %} + {{ config.buy_markup_percent }}% {% elif config.buy_markup_percent < 0 %} {{ config.buy_markup_percent }}% {% else %} ({% trans "no markup" %}) {% endif %}
{% if corp_assets_scope_missing %}
{% trans "Missing corporation assets token: the hub cannot load stock. A director must authorize the required ESI scope for the corporation." %}
{% endif %} {% if stock_refreshing %}
{% trans "Refreshing via ESI (assets + prices)." %}
{% endif %}
{% if stock %}
{% trans "Available Stock in" %} {{ config.structure_name }} - {{ hangar_division_label }} hangar division
{% trans "Last update" %}: {% if buy_last_update %} {{ buy_last_update|timezone:"UTC"|date:"Y-m-d H:i" }} EVE {% else %} {% trans "Never" %} {% endif %}
{% csrf_token %}
{% for item in stock %} {% endfor %}
{% trans "Item" %} {% trans "Stock" %} {% trans "Unit Price" %} {% trans "Quantity" %}
{{ item.type_name }} {{ item.type_name }} {{ item.quantity|intcomma }} {{ item.sell_price_to_member|floatformat:2|intcomma }} ISK
{% trans "Max:" %} {{ item.quantity|intcomma }}
{% trans "Order Summary" %}

{% trans "Select items to see your order summary" %}

{% trans "Total Amount" %} 0 ISK
{% else %}
{% trans "No materials currently available in stock. Please check back later." %}
{% if perms.indy_hub.can_manage_material_hub %}
{% csrf_token %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endblock content %}