diff --git a/InvenTree/build/templates/build/allocate.html b/InvenTree/build/templates/build/allocate.html index 09646cd270..49a932c8aa 100644 --- a/InvenTree/build/templates/build/allocate.html +++ b/InvenTree/build/templates/build/allocate.html @@ -12,8 +12,7 @@ InvenTree | Allocate Parts {% include "build/tabs.html" with tab='allocate' %} -{% if build.incomplete_outputs %} -

{% trans "Tracked Build Ouputs" %}

+

{% trans "Incomplete Build Ouputs" %}

{% for item in build.incomplete_outputs %} {% include "build/allocation_card.html" with item=item %} @@ -21,8 +20,7 @@ InvenTree | Allocate Parts

-

{% trans "Untracked Parts" %}

-{% endif %} +

{% trans "Assigned Stock" %}

{% if build.status == BuildStatus.PENDING %} diff --git a/InvenTree/build/templates/build/allocation_card.html b/InvenTree/build/templates/build/allocation_card.html index fa8a72139a..b77f375231 100644 --- a/InvenTree/build/templates/build/allocation_card.html +++ b/InvenTree/build/templates/build/allocation_card.html @@ -1,23 +1,15 @@ {% load i18n %} {% load inventree_extras %} -{% if item %} {% define item.pk as pk %} -{% else %} -{% define 'untracked' as pk %} -{% endif %}