diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index d9f80edf44..5cdeccea13 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -35,44 +35,42 @@ {% endif %}

{{ part.description }}

-

-

-
- - {% if part.is_template == False %} - {% include "qr_button.html" %} - {% if part.active %} - - {% if not part.virtual %} - - {% endif %} - {% if part.purchaseable %} - - {% endif %} - {% endif %} - {% endif %} - - - {% if not part.active %} - - {% endif %} -
+
+ + + -

+ {% if part.active %} + + + {% if part.purchaseable %} + + {% endif %} + {% endif %} + +
{% if part.IPN %} diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 541789e39b..63804291ec 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -140,6 +140,19 @@ InvenTree | {% trans "Stock Item" %} - {{ item }} {{ item.part.full_name }} + {% if item.serialized %} + + + + + + {% else %} + + + + + + {% endif %} {% if item.customer %} @@ -183,19 +196,6 @@ InvenTree | {% trans "Stock Item" %} - {{ item }} {% endif %} - {% if item.serialized %} - - - - - - {% else %} - - - - - - {% endif %} {% if item.batch %}
{% trans "Serial Number" %}{{ item.serial }}
{% trans "Quantity" %}{% decimal item.quantity %} {% if item.part.units %}{{ item.part.units }}{% endif %}
{{ item.uid }}
{% trans "Serial Number" %}{{ item.serial }}
{% trans "Quantity" %}{% decimal item.quantity %} {% if item.part.units %}{{ item.part.units }}{% endif %}