mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Download PDF for labels
This commit is contained in:
@ -654,28 +654,7 @@ function loadStockTable(table, options) {
|
||||
items.push(item.pk);
|
||||
});
|
||||
|
||||
// Request available labels from the server
|
||||
inventreeGet(
|
||||
'{% url "api-stockitem-label-list" %}',
|
||||
{
|
||||
enabled: true,
|
||||
items: items,
|
||||
},
|
||||
{
|
||||
success: function(response) {
|
||||
|
||||
if (response.length == 0) {
|
||||
showAlertDialog(
|
||||
'{% trans "No Labels Found" %}',
|
||||
'{% trans "No labels found which match selected stock item(s)" %}',
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
var label = selectLabel(response);
|
||||
}
|
||||
}
|
||||
);
|
||||
printStockItemLabels(items);
|
||||
});
|
||||
|
||||
$('#multi-item-stocktake').click(function() {
|
||||
|
Reference in New Issue
Block a user