diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 90c0503783..ec8fd8d8e0 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -34,42 +34,50 @@

{% trans "Category Details" %}

+ + {% if category.default_location %} + {% endif %} {% if category.default_keywords %} + {% endif %} + +
{% trans "Category Path" %} {{ category.pathstring }}
{% trans "Category Description" %} {{ category.description }}
{% trans "Default Location" %} {{ category.default_location.pathstring }}
{% trans "Keywords" %} {{ category.default_keywords }}
{% trans "Subcategories" %} {{ category.children.count }}
{% trans "Parts (Including subcategories)" %} {{ category.partcount }}
{% else %} -

{% trans "Part Details" %}

+

{% trans "Category Details" %}

+ + diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index 5b69ccb193..eff9168849 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -14,44 +14,52 @@
{% trans "Part Categories" %} {{ category_count }}
{% trans "Parts" %} {{ part_count }}
+ {% if part.IPN %} + {% endif %} {% if part.revision %} + {% endif %} + {% if part.variant_of %} + {% endif %} {% if part.keywords %} + {% endif %} {% if part.URL %} - + + {% endif %} + {% if part.default_location %} + {% endif %} {% if part.default_supplier %} + {% endif %} + {% if part.minimum_stock > 0 %} + {% endif %} + {% if part.creation_user %} + {% endif %} {% if part.responsible %} + diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index baa7511726..aad5b2b9e8 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -37,18 +37,22 @@

{% trans "Location Details" %}

{% trans "Part name" %} {{ part.name }}
{% trans "IPN" %} {{ part.IPN }}
{% trans "Revision" %} {{ part.revision }}
{% trans "Description" %} {{ part.description }}
{% trans "Variant Of" %} {{ part.variant_of.full_name }}
{% trans "Keywords" %} {{ part.keywords }}
{% trans "URL" %}{% trans "Link" %} {{ part.URL }}
{% trans "Category" %} {% if part.category %} @@ -61,12 +69,14 @@
{% trans "Default Location" %} {{ part.default_location.pathstring }}
{% trans "Default Supplier" %} {{ part.default_supplier.supplier.name }} | {{ part.default_supplier.SKU }} @@ -74,27 +84,32 @@
{% trans "Units" %} {{ part.units }}
{% trans "Minimum Stock" %} {{ part.minimum_stock }}
{% trans "Creation Date" %} {{ part.creation_date }}
{% trans "Created By" %} {{ part.creation_user }}
d {% trans "Responsible User" %} {{ part.responsible }}
+ + + + @@ -57,10 +61,12 @@

{% trans "Stock Details" %}

{% trans "Location Path" %} {{ location.pathstring }}
{% trans "Location Description" %} {{ location.description }}
{% trans "Sublocations" %} {{ location.children.count }}
{% trans "Stock Items" %} {{ location.item_count }}
+ +
{% trans "Stock Locations" %} {{ loc_count }}
{% trans "Stock Items" %} {{ stock_count }}