diff --git a/InvenTree/company/templates/company/partdetail.html b/InvenTree/company/templates/company/partdetail.html index fa974ceef6..ec9972527d 100644 --- a/InvenTree/company/templates/company/partdetail.html +++ b/InvenTree/company/templates/company/partdetail.html @@ -2,13 +2,32 @@ {% load static %} {% block content %} -
{{ part.SKU }} - {{ part.supplier.name }}
+SKU | {{ part.SKU }} |
Supplier | {{ part.supplier.name }} | |
SKU | {{ part.SKU }} | |
Parent Part | +Internal Part |
{% if part.part %}
{{ part.part.name }}
@@ -29,18 +48,13 @@
-
-
-
-
-
{% include 'modals.html' %}
{% endblock %}
{% block js_ready %}
{{ block.super }}
- $('#part-edit').click(function () {
+ $('#edit-part').click(function () {
launchModalForm(
"{% url 'supplier-part-edit' part.id %}",
{
@@ -49,7 +63,7 @@
);
});
- $('#part-delete').click(function() {
+ $('#delete-part').click(function() {
launchDeleteForm(
"{% url 'supplier-part-delete' part.id %}",
{
|