Include URL data in barcode scan endpoint

This commit is contained in:
Oliver Walters committed 2020-06-11 19:21:38 +10:00
1 parent 3aecb110a5
commit 2d9b75c6ae
3 files changed
+57 -5

No files matched your search

@@ -390,10 +390,11 @@ $('#stock-add').click(function() {
$("#stock-delete").click(function () {
launchModalForm(
"{% url 'stock-item-delete' item.id %}",
{
redirect: "{% url 'part-stock' item.part.id %}"
});
"{% url 'stock-item-delete' item.id %}",
{
redirect: "{% url 'part-stock' item.part.id %}"
}
);
});
{% endblock %}