diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index 5f53fa36bb..d821b1743e 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -91,7 +91,7 @@ src="{% static 'img/blank_image.png' %}" diff --git a/InvenTree/order/templates/order/order_base.html b/InvenTree/order/templates/order/order_base.html index 8b98755900..ca7e70c4e3 100644 --- a/InvenTree/order/templates/order/order_base.html +++ b/InvenTree/order/templates/order/order_base.html @@ -36,31 +36,39 @@ src="{% static 'img/blank_image.png' %}"

{{ order.description }}{% include "clip.html"%}

- - + + {% if roles.purchase_order.change %} - + +
+ + +
{% if order.status == PurchaseOrderStatus.PENDING and order.lines.count > 0 %} {% elif order.status == PurchaseOrderStatus.PLACED %} - {% endif %} - {% if order.can_cancel %} - {% endif %} {% endif %} diff --git a/InvenTree/order/templates/order/sales_order_base.html b/InvenTree/order/templates/order/sales_order_base.html index 3fd34e42b9..f7595cc182 100644 --- a/InvenTree/order/templates/order/sales_order_base.html +++ b/InvenTree/order/templates/order/sales_order_base.html @@ -47,30 +47,39 @@ src="{% static 'img/blank_image.png' %}"

{{ order.description }}{% include "clip.html"%}

- - + + {% if roles.sales_order.change %} - + +
+ + + +
{% if order.status == SalesOrderStatus.PENDING %} - {% endif %} {% endif %} -
{% endblock %}