mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-11 20:56:13 +00:00
Tweaked part stock page
This commit is contained in:
1 parent
2b286c3b83
commit
425db5fd39
3 files changed
+70
-5
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user