2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-12 07:54:14 +00:00

remove dead code

This commit is contained in:
Oliver Walters
2022-05-03 17:33:03 +10:00
parent f0e8e32c8a
commit 96c5a8252c
7 changed files with 31 additions and 524 deletions

View File

@ -2043,17 +2043,17 @@ function loadStockTable(table, options) {
$('#multi-item-order').click(function() {
var selections = $(table).bootstrapTable('getSelections');
var stock = [];
var parts = [];
selections.forEach(function(item) {
stock.push(item.pk);
var part = item.part_detail;
if (part) {
parts.push(part);
}
});
launchModalForm('/order/purchase-order/order-parts/', {
data: {
stock: stock,
},
});
orderParts(parts, {});
});
$('#multi-item-set-status').click(function() {