mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-16 01:36:29 +00:00
Display proper printing target name in the label printing modal dialog (#4727)
Fix #4717
This commit is contained in:
@@ -1724,7 +1724,9 @@ function loadStockTable(table, options) {
|
||||
labels: {
|
||||
url: '{% url "api-stockitem-label-list" %}',
|
||||
key: 'item',
|
||||
}
|
||||
},
|
||||
singular_name: '{% trans "stock item" %}',
|
||||
plural_name: '{% trans "stock items" %}'
|
||||
});
|
||||
|
||||
// Override the default values, or add new ones
|
||||
@@ -2378,7 +2380,9 @@ function loadStockLocationTable(table, options) {
|
||||
labels: {
|
||||
url: '{% url "api-stocklocation-label-list" %}',
|
||||
key: 'location'
|
||||
}
|
||||
},
|
||||
singular_name: '{% trans "stock location" %}',
|
||||
plural_name: '{% trans "stock locations" %}',
|
||||
});
|
||||
|
||||
for (var key in params) {
|
||||
|
Reference in New Issue
Block a user