mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-04 20:51:00 +00:00
Refactor forms for sales orders
This commit is contained in:
@ -42,15 +42,10 @@
|
||||
});
|
||||
|
||||
$("#new-sales-order").click(function() {
|
||||
launchModalForm(
|
||||
"{% url 'so-create' %}",
|
||||
{
|
||||
data: {
|
||||
customer: {{ company.id }},
|
||||
},
|
||||
follow: true,
|
||||
},
|
||||
);
|
||||
|
||||
createSalesOrder({
|
||||
customer: {{ company.pk }},
|
||||
});
|
||||
});
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user