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:
@ -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',
|
||||
});
|
||||
|
@ -284,6 +284,7 @@
|
||||
|
||||
printLabels({
|
||||
items: locs,
|
||||
singular_name: '{% trans "stock location" %}',
|
||||
key: 'location',
|
||||
url: '{% url "api-stocklocation-label-list" %}',
|
||||
});
|
||||
|
Reference in New Issue
Block a user