Fix logic for enabling "place order" button
This commit is contained in:
parent
ba1c7caa2a
commit
dbf1e1b463
|
|
@ -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 %}",
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue