Tweaked part stock page

This commit is contained in:
Oliver committed 2018-05-07 21:51:08 +10:00
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';