Print label key (#491)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled

* We now use the plugin key for printing labels

* Bump API version for modern label printing

* Fix typo
This commit is contained in:
Oliver authored and GitHub committed 2024-05-15 20:19:34 +10:00
1 parent 9a6e1e6381
commit 541060aa03
5 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -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,