{% extends "collapse.html" %} {% load static %} {% load inventree_extras %} {% block collapse_panel_setup %}class='panel part-allocation' id='allocation-panel-{{ item.sub_part.id }}'{% endblock %} {% block collapse_title %} {% include "hover_image.html" with image=item.sub_part.image hover=false %}
{{ item.sub_part.full_name }} {{ item.sub_part.description }}
{% endblock %} {% block collapse_heading %}
{% decimal item.sub_part.total_stock %}
{% multiply build.quantity item.quantity %}{% if item.overage %} (+ {{ item.overage }}){% endif %}
{% part_allocation_count build item.sub_part %}
{% endblock %} {% block collapse_content %}
{% endblock %}