{% trans "Materials overview" %}

{% trans "Review grouped inputs to understand volumes per run and spot potential bottlenecks." %}

{% trans "Runs" %}
{{ num_runs|default:1|intcomma }}
{% trans "Output quantity" %}
{{ final_product_qty|default:num_runs|intcomma }}
{% trans "Material efficiency" %}
{{ me|default:0 }}
{% trans "Time efficiency" %}
{{ te|default:0 }}
{% if materials_by_group %} {% for group_id, group in materials_by_group.items %}
{{ group.group_name|default:_("Other") }} {{ group.items|length }}
{% for item in group.items %} {% endfor %}
{% trans "Material" %} {% trans "Quantity" %}
{{ item.type_name }} {{ item.type_name }}
{{ item.quantity|intcomma }}
{% endfor %} {% endif %}

{% trans "Production tree controls" %}

{% trans "Drill into the hierarchy, switch intermediate products between Buy and Prod, and let dependencies collapse automatically." %}

{% trans "Production tree" %}
{% if materials_tree %} {% include "indy_hub/material_tree.html" with materials=materials_tree level=0 %} {% else %}
{% trans "No sub-productions detected for this blueprint." %}
{% endif %}

{% trans "Cycle forecasting" %}

{% trans "Compare what each production run yields versus what the project consumes to avoid shortages." %}

{% if craft_cycles_summary %}
{% trans "Production cycles overview" %} {{ craft_cycles_summary|length }}
{% for type_id, data in craft_cycles_summary.items %} {% endfor %}
{% trans "Item" %} {% trans "Needed" %} {% trans "Per cycle" %} {% trans "Cycles" %} {% trans "Produced" %} {% trans "Surplus" %}
{{ data.type_name }}
{{ data.type_name }}
{{ data.total_needed|intcomma }} {{ data.produced_per_cycle|intcomma }} {{ data.cycles|intcomma }} {{ data.total_produced|intcomma }} {% if data.surplus > 0 %} +{{ data.surplus|intcomma }} {% elif data.surplus < 0 %} {{ data.surplus|intcomma }} {% else %} {{ data.surplus|intcomma }} {% endif %}
{% else %}
{% trans "This blueprint does not have any intermediate craftable items requiring cycle calculations." %}
{% endif %}

{% trans "Financial cockpit" %}

{% trans "Fetch market references, override prices manually and track profitability in real time." %}

{% trans "Total cost" %}
0 ISK
{% trans "Total revenue" %}
0 ISK
{% trans "Profit" %}
0 ISK
{% trans "Margin" %}
0%
{% trans "Last updated" %}
{% trans "Purchase planner" %}

{% trans "Switch items to Buy in the tree tab to include them here. Adjust the real price column with your market assumptions." %}

{% for mat in materials %} {% endfor %}
{% trans "Item" %} {% trans "Qty" %} {% trans "Fuzzwork price" %} {% trans "Real price" %} {% trans "Line total" %}
{{ mat.type_name }} {{ mat.type_name }}
{{ mat.quantity|intcomma }} 0
{% trans 'Final product' %} {% trans "Final product" %}
{{ final_product_qty|default:num_runs|intcomma }} 0
{% trans "Total cost" %} 0
{% trans "Total revenue" %} 0
{% trans "Profit" %} 0 (0%)

{% trans "Shopping assistant" %}

{% trans "Rebuild the list after toggling Buy modes to export accurate purchase quantities." %}

{% trans "Items to purchase" %}

{% trans "Use the production tree to decide which components you will manufacture versus buy. This table recomputes the shopping list." %}

{% trans "Item" %} {% trans "Qty" %} {% trans "Unit price" %} {% trans "Line total" %}
{% trans "Total cost" %} 0

{% trans "Blueprint fine-tuning" %}

{% trans "Adjust ME/TE on child blueprints; changes apply when switching tabs or saving simulations." %}

{% if blueprint_configs_grouped %}
{% for group in blueprint_configs_grouped %}

{% for level in group.levels %}
{% trans "Blueprint level" %} {{ level.level }}
{% for bc in level.blueprints %} {% endfor %}
{% trans "Blueprint" %} {% trans "ME" %} {% trans "TE" %} {% trans "Product" %}
{{ bc.type_name }} {{ bc.type_name }}
{% if bc.product_type_id %}
{{ bc.product_type_name }} {{ bc.product_type_name }}
{% else %} {% trans "No product detected" %} {% endif %}
{% endfor %}
{% endfor %}
{% else %}
{% trans "No child blueprints require configuration tweaks for this item." %}
{% endif %}