{% extends "industry_reforged/base.html" %} {% load i18n humanize %} {% block details %}

{% trans "Inventory & Analytics" %}

Sync Inventory Back
{% for inv in inventory %} {% endfor %}
Item Total Quantity Target Actions
{{ inv.item_type__name }} {{ inv.item_type__name }}
{{ inv.total_qty|intcomma }} {% if inv.target > 0 %}{{ inv.target|intcomma }}{% else %}-{% endif %}
{% if low_stock %}
Action Required: Restock Needed
Generate Master Shopping List
{% for item in low_stock %} {% endfor %}
Item Current Stock In Progress Target Threshold Deficit Action
{{ item.item_type.name }} {{ item.current_qty|intcomma }} {% if item.in_progress > 0 %}{{ item.in_progress|intcomma }}{% else %}-{% endif %} {{ item.target|intcomma }} {{ item.deficit|intcomma }}
{% csrf_token %} {% if item.build_or_buy == "BUILD" %} {% else %} {% endif %}
{% else %}
No low stock alerts! All tracked items are above their target thresholds.
{% endif %}
{% for fac_inv in facility_inventories %}
{% for inv in fac_inv.inventory %} {% endfor %}
Item Quantity
{{ inv.item_type__name }} {{ inv.item_type__name }}
{{ inv.total_qty|intcomma }}
{% endfor %}
{% endblock %} {% block extra_javascript %} {{ block.super }} {% endblock %}