2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-10 22:00:56 +00:00

Remove calls to "exportStock"

This commit is contained in:
Oliver
2022-03-03 17:25:31 +11:00
parent 51de436d42
commit 8bf84ec217
4 changed files with 3 additions and 55 deletions

View File

@@ -283,9 +283,7 @@
});
$("#stock-export").click(function() {
exportStock({
supplier: {{ company.id }}
});
downloadTableData($("#stock-table"));
});
{% if company.is_manufacturer %}

View File

@@ -309,11 +309,7 @@ loadStockTable($("#stock-table"), {
});
$("#stock-export").click(function() {
exportStock({
supplier_part: {{ part.pk }},
});
downloadTableData($("#stock-table"));
});
$("#item-create").click(function() {