2
0
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:
Oliver
2021-07-03 00:14:36 +10:00
parent 984828f3bb
commit 993abd9d91
12 changed files with 132 additions and 200 deletions

View File

@ -42,15 +42,10 @@
});
$("#new-sales-order").click(function() {
launchModalForm(
"{% url 'so-create' %}",
{
data: {
customer: {{ company.id }},
},
follow: true,
},
);
createSalesOrder({
customer: {{ company.pk }},
});
});
{% endblock %}