mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 13:35:40 +00:00
StockLocation labels are now printable
This commit is contained in:
@ -89,7 +89,13 @@ function printStockLocationLabels(locations, options={}) {
|
||||
locations,
|
||||
{
|
||||
success: function(pk) {
|
||||
// TODO - Print the label!
|
||||
var href = `/api/label/location/${pk}/print/?`;
|
||||
|
||||
locations.forEach(function(location) {
|
||||
href += `locations[]=${location}&`;
|
||||
});
|
||||
|
||||
window.location.href = href;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user