2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Display proper printing target name in the label printing modal dialog (#4727)

Fix #4717
This commit is contained in:
Miklós Márton
2023-05-01 23:59:54 +02:00
committed by GitHub
parent e5e1a09b45
commit 0b8feb2c4a
8 changed files with 22 additions and 7 deletions

View File

@ -496,6 +496,7 @@ $("#stock-test-report").click(function() {
$("#print-label").click(function() {
printLabels({
items: [{{ item.pk }}],
singular_name: '{% trans "stock item" %}',
url: '{% url "api-stockitem-label-list" %}',
key: 'item',
});

View File

@ -284,6 +284,7 @@
printLabels({
items: locs,
singular_name: '{% trans "stock location" %}',
key: 'location',
url: '{% url "api-stocklocation-label-list" %}',
});