2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add menu item to set stock status for multiple items

This commit is contained in:
Oliver Walters
2021-01-14 13:41:38 +11:00
parent a2f9d721f3
commit aac835f634
2 changed files with 9 additions and 0 deletions

View File

@ -682,6 +682,14 @@ function loadStockTable(table, options) {
});
});
$("#multi-item-set-status").click(function() {
var selections = $("#stock-table").bootstrapTable('getSelections');
selections.forEach(function(item) {
// TODO
});
});
$("#multi-item-delete").click(function() {
var selections = $("#stock-table").bootstrapTable("getSelections");