mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Modern Label printing (#724)
* Basic widget * Redirect label printing action * Refactor label printing code * Construct form elements * Refactor to allow re-use of forms * Basic rendering of label printing form * Remove dead code * Pass custom handler through to form context * Refactoring API forms: - Allow custom pk field name - Add callback when values change * linting * Dynamically rebuild form * Handle nested fields * Handle label printing status * Run dart format * Update release notes * Remove unused var * Enable close icon * Handle initial plugin default value * Store default values: - Selected template (per label type) - Selected printing plugin * Dart format * Fix dart linting * use setter * Just use a public field
This commit is contained in:
parent
e41842a31d
commit
13d95dd1b1
10 changed files with 425 additions and 368 deletions
|
|
@ -25,7 +25,11 @@ const int SCREEN_ORIENTATION_LANDSCAPE = 2;
|
|||
const String INV_SOUNDS_BARCODE = "barcodeSounds";
|
||||
const String INV_SOUNDS_SERVER = "serverSounds";
|
||||
|
||||
// Label printing settings
|
||||
const String INV_ENABLE_LABEL_PRINTING = "enableLabelPrinting";
|
||||
const String INV_LABEL_DEFAULT_TEMPLATES = "defaultLabelTemplates";
|
||||
const String INV_LABEL_DEFAULT_PRINTER = "defaultLabelPrinter";
|
||||
const String INV_LABEL_DEFAULT_PLUGIN = "defaultLabelPlugin";
|
||||
|
||||
// Part settings
|
||||
const String INV_PART_SHOW_PARAMETERS = "partShowParameters";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue