diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index a372a8cb2f..e02112c6bf 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -98,13 +98,6 @@ src="{% static 'img/blank_image.png' %}" {% trans "No build outputs have been created for this build order" %}
{% endif %} - {% if build.sales_order %} -
- {% object_link 'so-detail' build.sales_order.id build.sales_order as link %} - {% blocktrans %}This Build Order is allocated to Sales Order {{link}}{% endblocktrans %} -
- {% endif %} - {% if build.parent %}
{% object_link 'build-detail' build.parent.id build.parent as link %} @@ -162,7 +155,12 @@ src="{% static 'img/blank_image.png' %}" {% endif %} - + + {% if build.completed >= build.quantity %} + + {% else %} + + {% endif %} {% trans "Completed" %} {% progress_bar build.completed build.quantity id='build-completed' max_width='150px' %} diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index eafaec5cd8..0cfd50a115 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -173,17 +173,16 @@ {{ part.description }}{% include "clip.html"%} - - - -
{% if part.variant_of %} -
- {% object_link 'part-detail' part.variant_of.id part.variant_of.full_name as link %} - {% blocktrans %}This part is a variant of {{link}}{% endblocktrans %} -
+ + + {% trans "Variant Of" %} + + {{ part.variant_of.full_name }} + + {% endif %} -
+ {% endblock details %} diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 316db8bfef..322ee56235 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -281,12 +281,6 @@
{% endif %} - {% if item.hasRequiredTests and not item.passedAllRequiredTests %} -
- {% trans "This stock item has not passed all required tests" %} -
- {% endif %} - {% for allocation in item.get_sales_order_allocations.all %}
{% object_link 'so-detail' allocation.line.order.id allocation.line.order as link %} @@ -412,7 +406,7 @@ {% if item.passedAllRequiredTests %} {% else %} - + {% endif %}