mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +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:
parent
9a6e1e6381
commit
541060aa03
5 changed files with 10 additions and 10 deletions
|
|
@ -250,8 +250,8 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
|
||||
if (allowLabelPrinting) {
|
||||
|
||||
String model_type = api.supportsModenLabelPrinting ? InvenTreePart().MODEL_TYPE : "part";
|
||||
String item_key = api.supportsModenLabelPrinting ? "items" : "part";
|
||||
String model_type = api.supportsModernLabelPrinting ? InvenTreePart().MODEL_TYPE : "part";
|
||||
String item_key = api.supportsModernLabelPrinting ? "items" : "part";
|
||||
|
||||
_labels = await getLabelTemplates(
|
||||
model_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue