{% extends "modal_form.html" %} {% load i18n %} {% load inventree_extras %} {% block pre_form_content %} {{ block.super }}
{% trans "Automatically Allocate Stock" %}
{% trans "The following stock items will be allocated to the specified build output" %}
{% if allocations %} {% for item in allocations %} {% endfor %}
{% trans "Part" %} {% trans "Quantity" %} {% trans "Location" %}
{% include "hover_image.html" with image=item.stock_item.part.image hover=True %} {{ item.stock_item.part.full_name }}
{{ item.stock_item.part.description }}
{% decimal item.quantity %} {{ item.stock_item.location }}
{% else %}
{% trans "No stock items found that can be automatically allocated to this build" %}
{% trans "Stock items will have to be manually allocated" %}
{% endif %} {% endblock %}