diff --git a/InvenTree/part/templates/part/supplier.html b/InvenTree/part/templates/part/supplier.html index a4a76f55da..5fbbee9bd8 100644 --- a/InvenTree/part/templates/part/supplier.html +++ b/InvenTree/part/templates/part/supplier.html @@ -8,12 +8,17 @@ SKU Supplier + MPN URL {% for spart in part.supplier_parts.all %} {{ spart.SKU }} {{ spart.supplier.name }} + + {% if spart.manufacturer %}{{ spart.manufacturer.name }}{% endif %} + {% if spart.MPN %} | {{ spart.MPN }}{% endif %} + {% if spart.URL %} {{ spart.URL }} diff --git a/InvenTree/supplier/templates/supplier/detail.html b/InvenTree/supplier/templates/supplier/detail.html index 014835fba9..f1c7a8c52a 100644 --- a/InvenTree/supplier/templates/supplier/detail.html +++ b/InvenTree/supplier/templates/supplier/detail.html @@ -6,12 +6,7 @@

{{ supplier.name }}

{{ supplier.description }}

- - - - - - +

{{ supplier.notes }}

@@ -48,21 +43,24 @@
+ - {% for part in supplier.parts.all %} + - - + {% endfor %}
SKUDescription PartManufacturer MPN URL
{{ part.SKU }}{{ part.description }} {% if part.part %} {{ part.part.name }} {% endif %} Manufacturer name goes hereMPN goes here + {% if part.manufacturer %}{{ part.manufacturer.name }}{% endif %} + {% if part.MPN %} | {{ part.MPN }}{% endif %} + {{ part.URL }}
@@ -71,6 +69,12 @@ + + + + + +
{% endblock %} \ No newline at end of file diff --git a/InvenTree/supplier/templates/supplier/partdetail.html b/InvenTree/supplier/templates/supplier/partdetail.html index 26fa19c328..fce66f5fea 100644 --- a/InvenTree/supplier/templates/supplier/partdetail.html +++ b/InvenTree/supplier/templates/supplier/partdetail.html @@ -22,8 +22,8 @@ Description{{ part.description }} {% endif %} {% if part.manufacturer %} - ManufacturerTODO - MPNTODO + Manufacturer{% if part.manufacturer %}{{ part.manufacturer.name }}{% endif %} + MPN{{ part.MPN }} {% endif %}