mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix "New Sales Order" button in Customer detail view
This commit is contained in:
parent
b619f26074
commit
d3758981b4
@ -33,9 +33,16 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$("#new-sales-order").click(function() {
|
$("#new-sales-order").click(function() {
|
||||||
// TODO - Create a new sales order
|
launchModalForm(
|
||||||
|
"{% url 'so-create' %}",
|
||||||
|
{
|
||||||
|
data: {
|
||||||
|
customer: {{ company.id }},
|
||||||
|
},
|
||||||
|
follow: true,
|
||||||
|
},
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user