Merge pull request #2610 from SchrodingersGat/po-button-fix

Fix logic for enabling "place order" button
This commit is contained in:
Oliver authored and GitHub committed 2022-02-08 09:27:10 +11:00
commit 23e6caf1d9
1 file changed
+1 -1
@@ -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 %}",
{