2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-18 13:15:31 +00:00

Label print updates (#399)

* Allow download of printed label

* Add setting for controlling label printing

* Control display of label printing via setting

* Refactor label printing functionality

- Move to helpers.dart
- Will be used for other label types also

* Factor out request for label templates

* Add label printing support for part

* Support label printing for stock location

* update release notes
This commit is contained in:
Oliver
2023-07-16 00:51:11 +10:00
committed by GitHub
parent d78affc1cb
commit 443e6e856c
10 changed files with 284 additions and 134 deletions

View File

@ -9,6 +9,7 @@
import "dart:io";
import "package:currency_formatter/currency_formatter.dart";
import "package:one_context/one_context.dart";
import "package:url_launcher/url_launcher.dart";
import "package:audioplayers/audioplayers.dart";
@ -132,4 +133,5 @@ String renderCurrency(double? amount, String currency, {int decimals = 2}) {
}
return value;
}
}