mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-15 03:35:28 +00:00
Print label key (#491)
* We now use the plugin key for printing labels * Bump API version for modern label printing * Fix typo
This commit is contained in:
@ -249,8 +249,8 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
|
||||
|
||||
if (widget.location != null) {
|
||||
|
||||
String model_type = api.supportsModenLabelPrinting ? InvenTreeStockLocation().MODEL_TYPE : "location";
|
||||
String item_key = api.supportsModenLabelPrinting ? "items" : "location";
|
||||
String model_type = api.supportsModernLabelPrinting ? InvenTreeStockLocation().MODEL_TYPE : "location";
|
||||
String item_key = api.supportsModernLabelPrinting ? "items" : "location";
|
||||
|
||||
_labels = await getLabelTemplates(
|
||||
model_type,
|
||||
|
Reference in New Issue
Block a user