{% 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 %}
{% if stock_refreshing %}
{% trans "Refreshing via ESI (assets + prices)." %}
{% endif %}
{% trans "Last update" %}: {% if buy_last_update %} {% with buy_utc=buy_last_update|timezone:"UTC" %} {{ buy_utc|date:"Y-m-d H:i" }} EVE / {{ buy_utc|date:"Y-m-d H:i" }} {% trans "Local" %} {% endwith %} {% else %} {% trans "Never" %} {% endif %}
{% if buy_next_refresh_minutes == 0 %} {% trans "Auto-refresh will run on the next page open." %} {% elif buy_next_refresh_minutes %} {% blocktrans with minutes=buy_next_refresh_minutes %}Auto-refresh runs on page open in about {{ minutes }} minute(s).{% endblocktrans %} {% else %} {% trans "Auto-refresh runs on page open once data is older than 60 minutes." %} {% endif %}
{% trans "Select the quantities you want to purchase." %}
{% trans "Totals update automatically based on your selections." %}
{% if buy_stock_progress.error == "esi_down" %}
{% trans "ESI is temporarily unavailable. Using cached stock." %}
{% if buy_stock_progress.retry_after_minutes %} {% blocktrans with minutes=buy_stock_progress.retry_after_minutes %}Retry in about {{ minutes }} minute(s).{% endblocktrans %} {% endif %}
{% 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 %}
{% trans "Available Stock in" %} {{ config.structure_name }}
{% csrf_token %}
{% for item in stock %} {% endfor %}
{% trans "Item" %} {% trans "Stock" %} {% trans "Unit Price" %} {% trans "Quantity" %}
{{ item.type_name }}
{{ item.type_name }}
{{ item.group_name|default:_('Other') }}
{{ item.quantity|intcomma }} {{ item.sell_price_to_member|floatformat:2|intcomma }} ISK
{% trans "Max:" %} {{ item.quantity|intcomma }}
{% trans "No matching items for your search." %}
{% 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." %}
{% endif %}
{% endblock content %}