2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 11:40:58 +00:00

Tweaked part stock page

This commit is contained in:
Oliver
2018-05-07 21:51:08 +10:00
parent 2b286c3b83
commit 425db5fd39
3 changed files with 70 additions and 5 deletions

View File

@ -85,6 +85,22 @@ function moveStockItems(items, options) {
});
}
function countStockItems(items, options) {
var modal = '#modal-form';
if ('modal' in options) {
modal = options.modal;
}
if (items.length == 0) {
alert('No stock items selected');
return;
}
openModal(modal);
modalSetTitle(modal, 'Stocktake');
}
function deleteStockItems(items, options) {
var modal = '#modal-delete';