From dbf1e1b4630a87b68ebbc694bd6a65bd9326ab00 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 8 Feb 2022 08:59:42 +1100 Subject: [PATCH] Fix logic for enabling "place order" button --- InvenTree/order/templates/order/order_base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/order/templates/order/order_base.html b/InvenTree/order/templates/order/order_base.html index c675574d30..af1e02fd54 100644 --- a/InvenTree/order/templates/order/order_base.html +++ b/InvenTree/order/templates/order/order_base.html @@ -178,7 +178,7 @@ src="{% static 'img/blank_image.png' %}" {{ block.super }} -{% if order.status == PurchaseOrderStatus.PENDING and order.lines.count > 0 %} +{% if order.status == PurchaseOrderStatus.PENDING %} $("#place-order").click(function() { launchModalForm("{% url 'po-issue' order.id %}", {