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:
Oliver 2024-05-15 20:19:34 +10:00 committed by GitHub
parent 9a6e1e6381
commit 541060aa03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 10 deletions

View file

@ -346,7 +346,7 @@ class InvenTreeAPI {
bool get supportsCompanyActiveStatus => isConnected() && apiVersion >= 189;
// Does the server support the "modern" (consolidated) label printing API?
bool get supportsModenLabelPrinting => isConnected() && apiVersion >= 197;
bool get supportsModernLabelPrinting => isConnected() && apiVersion >= 198;
// Cached list of plugins (refreshed when we connect to the server)
List<InvenTreePlugin> _plugins = [];