Merge pull request #2605 from SchrodingersGat/po-refresh

Do not hide the "submit order" button
This commit is contained in:
Oliver 2022-02-07 15:02:52 +11:00 committed by GitHub
commit ba1c7caa2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@
{% endif %}
</ul>
</div>
{% if order.status == PurchaseOrderStatus.PENDING and order.lines.count > 0 %}
{% if order.status == PurchaseOrderStatus.PENDING %}
<button type='button' class='btn btn-outline-secondary' id='place-order' title='{% trans "Place order" %}'>
<span class='fas fa-shopping-cart icon-blue'></span>
</button>