Fix "New Sales Order" button in Customer detail view

This commit is contained in:
Oliver Walters 2020-05-14 15:09:31 +10:00
parent b619f26074
commit d3758981b4

View File

@ -33,9 +33,16 @@
}
});
$("#new-sales-order").click(function() {
// TODO - Create a new sales order
launchModalForm(
"{% url 'so-create' %}",
{
data: {
customer: {{ company.id }},
},
follow: true,
},
);
});
{% endblock %}