{% include "filter_list.html" with id="stocktracking" %}
{% if item.part.component %}
{% trans "Build Order Allocations" %}
{% include "spacer.html" %}
{% include "filter_list.html" with id="buildorderallocation" %}
{% endif %}
{% if item.part.salable %}
{% trans "Sales Order Allocations" %}
{% include "spacer.html" %}
{% include "filter_list.html" with id="salesorderallocation" %}
{% endif %}
{% trans "Child Stock Items" %}
{% include "spacer.html" %}
{% if item.child_count > 0 %}
{% include "filter_list.html" with id="stock-childs" %}
{% include "stock_table.html" with prefix="childs-" %}
{% else %}
{% trans "This stock item does not have any child items" %}
{% endif %}
{% trans "Test Data" %}
{% include "spacer.html" %}
{% if user.is_staff %}
{% endif %}
{% include "filter_list.html" with id="stocktests" %}
{% trans "Attachments" %}
{% include "spacer.html" %}
{% include "attachment_button.html" %}
{% include "attachment_table.html" %}
{% trans "Stock Item Notes" %}
{% include "spacer.html" %}
{% include "notes_buttons.html" %}
{% trans "Installed Stock Items" %}
{% include "spacer.html" %}
{% if roles.stock.add %}
{% endif %}
{% include "filter_list.html" with id='installed-items' %}