Fixes problem with 'New Purchase Order' button not working from Suppliers page.

This commit is contained in:
jmht 2019-09-14 21:40:09 +01:00
parent fa789036e0
commit ce099f43f3

View File

@ -9,7 +9,7 @@
<div id='button-bar'>
<div class='btn-group'>
<button class='btn btn-primary' type='button' id='company-order-2' title='Create new purchase order'>New Purchase Order</button>
<button class='btn btn-primary' type='button' id='company-order2' title='Create new purchase order'>New Purchase Order</button>
</div>
</div>
@ -38,7 +38,7 @@
newOrder();
});
$("#company-order-2").click(function() {
$("#company-order2").click(function() {
newOrder();
});
@ -47,4 +47,4 @@
sortable: true,
});
{% endblock %}
{% endblock %}