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

Further assorted updates

What, you need more commit details?! Pah
This commit is contained in:
Oliver
2018-05-07 23:40:17 +10:00
parent b6944620dd
commit fdf214626c
5 changed files with 36 additions and 28 deletions

View File

@ -18,7 +18,6 @@
<ul class="dropdown-menu">
<li><a href="#" id='multi-item-stocktake' title='Stocktake selected stock items'>Stocktake</a></li>
<li><a href='#' id='multi-item-move' title='Move selected stock items'>Move</a></li>
<li><a href="#" id='multi-item-delete' title='Delete selected stock items'>Delete</a></li>
</ul>
</div>
</div>
@ -111,19 +110,14 @@
return false;
});
$("#multi-item-delete").click(function() {
var items = selectedStock();
deleteStockItems(items, {});
return false;
});
$("#multi-item-stocktake").click(function() {
var items = selectedStock();
countStockItems(items, {});
countStockItems(items, {
success: function() {
$("#stock-table").bootstrapTable('refresh');
}
});
return false;
});