diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index a0b780408c..99694f430f 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -62,6 +62,9 @@ InvenTree | {{ order }}
+ {% if order.status == OrderStatus.PENDING %} + + {% endif %} {% if order.status == OrderStatus.PENDING and order.lines.count > 0 %} @@ -73,10 +76,6 @@ InvenTree | {{ order }}

Order Items

-{% if order.status == OrderStatus.PENDING %} - -{% endif %} - @@ -122,10 +121,10 @@ InvenTree | {{ order }} {% if order.status == OrderStatus.PENDING %} {% endif %} {% if item.supplier_part %} + + + + @@ -134,7 +135,7 @@ {% block js_ready %} {{ block.super }} - $("#duplicate-item").click(function() { + $("#stock-duplicate").click(function() { launchModalForm( "{% url 'stock-item-create' %}", {
- -
diff --git a/InvenTree/part/templates/part/partial_delete.html b/InvenTree/part/templates/part/partial_delete.html index baa429e2a5..b6516057bb 100644 --- a/InvenTree/part/templates/part/partial_delete.html +++ b/InvenTree/part/templates/part/partial_delete.html @@ -2,7 +2,9 @@ {% block pre_form_content %} -Are you sure you want to delete part '{{ part.full_name }}'? +
+ Are you sure you want to delete part '{{ part.full_name }}'? +
{% if part.used_in_count %}
diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index 7300855389..02287d8669 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -9,32 +9,29 @@

{% include "qr_button.html" %} + {% if item.in_stock %} + + + + + {% endif %} + +

-
-

-
- -
-

-
-
@@ -90,6 +87,10 @@
Supplier{{ item.supplier_part.supplier.name }}
Supplier Part {{ item.supplier_part.SKU }}