diff --git a/InvenTree/static/script/inventree/stock.js b/InvenTree/static/script/inventree/stock.js index a858dca122..a32e446ad6 100644 --- a/InvenTree/static/script/inventree/stock.js +++ b/InvenTree/static/script/inventree/stock.js @@ -225,11 +225,12 @@ function moveStockItems(items, options) { return; } - function doMove(location, parts) { + function doMove(location, parts, notes) { inventreeUpdate("/api/stock/move/", { location: location, - 'parts[]': parts + 'parts[]': parts, + 'notes': notes, }, { success: function(response) { @@ -267,9 +268,13 @@ function moveStockItems(items, options) { html += makeOption(loc.pk, loc.name + ' - ' + loc.description + ''); } - html += "

"; + html += "
"; - html += "The following stock items will be moved: