From 06678577547e7f89310a5979941583c10a42b014 Mon Sep 17 00:00:00 2001
From: Oliver {{ part.description }}
+
-
- {% if part.IPN %}
-
- {% trans "Part name" %}
- {{ part.name }}{% include "clip.html"%}
-
-
- {% endif %}
- {% if part.revision %}
-
- {% trans "IPN" %}
- {{ part.IPN }}{% include "clip.html"%}
-
-
- {% endif %}
- {% if part.trackable %}
-
- {% trans "Revision" %}
- {{ part.revision }}{% include "clip.html"%}
-
-
- {% endif %}
-
- {% trans "Latest Serial Number" %}
-
- {% if part.getLatestSerialNumber %}
- {{ part.getLatestSerialNumber }}{% include "clip.html"%}
- {% else %}
- {% trans "No serial numbers recorded" %}
- {% endif %}
-
-
-
- {% if part.variant_of %}
-
- {% trans "Description" %}
- {{ part.description }}{% include "clip.html"%}
-
-
- {% endif %}
- {% if part.keywords %}
-
- {% trans "Variant Of" %}
- {{ part.variant_of.full_name }}{% include "clip.html"%}
-
-
- {% endif %}
-
- {% trans "Keywords" %}
- {{ part.keywords }}{% include "clip.html"%}
-
-
- {% if part.link %}
-
- {% trans "Category" %}
-
- {% if part.category %}
- {{ part.category.pathstring }}{% include "clip.html"%}
- {% endif %}
-
-
-
- {% endif %}
- {% if part.default_location %}
-
- {% trans "External Link" %}
- {{ part.link }}{% include "clip.html"%}
-
-
- {% endif %}
- {% if part.default_supplier %}
-
- {% trans "Default Location" %}
- {{ part.default_location.pathstring }}{% include "clip.html"%}
-
-
- {% endif %}
- {% if part.units %}
-
- {% trans "Default Supplier" %}
-
- {{ part.default_supplier.supplier.name }} | {{ part.default_supplier.SKU }}
- {% include "clip.html"%}
-
-
- {% endif %}
- {% if part.minimum_stock > 0 %}
-
- {% trans "Units" %}
- {{ part.units }}{% include "clip.html"%}
-
-
- {% endif %}
- {% if part.default_expiry > 0 %}
-
- {% trans "Minimum Stock" %}
- {{ part.minimum_stock }}
-
-
- {% endif %}
-
- {% trans "Stock Expiry Time" %}
- {{ part.default_expiry }} {% trans "days" %}
-
-
- {% if part.creation_user %}
-
- {% trans "Creation Date" %}
- {{ part.creation_date }}
-
-
- {% endif %}
- {% if part.responsible %}
-
- {% trans "Created By" %}
- {{ part.creation_user }}
-
-
- {% endif %}
-
-
- {% trans "Responsible User" %}
- {{ part.responsible }}
-
@@ -171,96 +46,7 @@
-
+
-
-
- {% trans "Virtual" %}
- {% include "slide.html" with state=part.virtual field='virtual' %}
- {% if part.virtual %}
- {% trans "Part is virtual (not a physical part)" %}
- {% else %}
- {% trans "Part is not a virtual part" %}
- {% endif %}
-
-
-
- {% trans "Template" %}
- {% include "slide.html" with state=part.is_template field='is_template' %}
- {% if part.is_template %}
- {% trans "Part is a template part (variants can be made from this part)" %}
- {% else %}
- {% trans "Part is not a template part" %}
- {% endif %}
-
-
-
- {% trans "Assembly" %}
- {% include "slide.html" with state=part.assembly field='assembly' %}
- {% if part.assembly %}
- {% trans "Part can be assembled from other parts" %}
- {% else %}
- {% trans "Part cannot be assembled from other parts" %}
- {% endif %}
-
-
-
- {% trans "Component" %}
- {% include "slide.html" with state=part.component field='component' %}
- {% if part.component %}
- {% trans "Part can be used in assemblies" %}
- {% else %}
- {% trans "Part cannot be used in assemblies" %}
- {% endif %}
-
-
-
- {% trans "Trackable" %}
- {% include "slide.html" with state=part.trackable field='trackable' %}
- {% if part.trackable %}
- {% trans "Part stock is tracked by serial number" %}
- {% else %}
- {% trans "Part stock is not tracked by serial number" %}
- {% endif %}
-
-
-
- {% trans "Purchaseable" %}
- {% include "slide.html" with state=part.purchaseable field='purchaseable' %}
- {% if part.purchaseable %}
- {% trans "Part can be purchased from external suppliers" %}
- {% else %}
- {% trans "Part can be purchased from external suppliers" %}
- {% endif %}
-
-
-
- {% trans "Salable" %}
- {% include "slide.html" with state=part.salable field='salable' %}
- {% if part.salable %}
- {% trans "Part can be sold to customers" %}
- {% else %}
- {% trans "Part cannot be sold to customers" %}
- {% endif %}
-
-
-
-
- {% if part.active %}
-
- {% else %}
-
- {% endif %}
-
- {% trans "Active" %}
- {% include "slide.html" with state=part.active field='active' disabled=False %}
- {% if part.active %}
- {% trans "Part is active" %}
- {% else %}
- {% trans "Part is not active" %}
- {% endif %}
-
- | {% trans "IPN" %} | -{{ part.IPN }} | ++ | {% trans "Keywords" %} | +{{ part.keywords }} |
+ | {% trans "Creation Date" %} | ++ {{ part.creation_date }} + {% if part.creation_user %} + {{ part.creation_user }} + {% endif %} + | |||
+ | {% trans "Latest Serial Number" %} | +{{ part.getLatestSerialNumber }}{% include "clip.html"%} | +