+
+ |
{% trans "Virtual" %} |
{% include "slide.html" with state=part.virtual field='virtual' %} |
{% if part.virtual %}
@@ -142,6 +144,7 @@
{% endif %}
+ |
{% trans "Template" %} |
{% include "slide.html" with state=part.is_template field='is_template' %} |
{% if part.is_template %}
@@ -151,6 +154,7 @@
{% endif %}
+ |
{% trans "Assembly" %} |
{% include "slide.html" with state=part.assembly field='assembly' %} |
{% if part.assembly %}
@@ -160,6 +164,7 @@
{% endif %}
+ |
{% trans "Component" %} |
{% include "slide.html" with state=part.component field='component' %} |
{% if part.component %}
@@ -169,6 +174,7 @@
{% endif %}
+ |
{% trans "Trackable" %} |
{% include "slide.html" with state=part.trackable field='trackable' %} |
{% if part.trackable %}
@@ -178,6 +184,7 @@
{% endif %}
+ |
{% trans "Purchaseable" %} |
{% include "slide.html" with state=part.purchaseable field='purchaseable' %} |
{% if part.purchaseable %}
@@ -187,6 +194,7 @@
{% endif %}
+ |
{% trans "Salable" %} |
{% include "slide.html" with state=part.salable field='salable' %} |
{% if part.salable %}
@@ -196,6 +204,13 @@
{% endif %}
+
+ {% if part.active %}
+
+ {% else %}
+
+ {% endif %}
+ |
{% trans "Active" %} |
{% include "slide.html" with state=part.active field='active' disabled=False %} |
{% if part.active %}
diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html
index d7eb987aab..e98ff37d93 100644
--- a/InvenTree/stock/templates/stock/item_base.html
+++ b/InvenTree/stock/templates/stock/item_base.html
@@ -234,7 +234,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
{% endif %}
{% if item.batch %}
- |
+ |
{% trans "Batch" %} |
{{ item.batch }} |
@@ -248,7 +248,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
{% endif %}
{% if item.purchase_order %}
- |
+ |
{% trans "Purchase Order" %} |
{{ item.purchase_order }} |