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:
@ -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