mirror of
https://github.com/inventree/inventree-app.git
synced 2026-05-01 05:24:19 +00:00
Fix for label printing (#813)
- Closes https://github.com/inventree/inventree-app/issues/812 Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
## 0.24.1 - April 2026
|
||||||
|
---
|
||||||
|
|
||||||
|
- Fixes bug which prevented label printing
|
||||||
|
|
||||||
## 0.24.0 - April 2026
|
## 0.24.0 - April 2026
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -814,6 +814,18 @@ class APIFormField {
|
|||||||
subtitle: Text(project_code.description),
|
subtitle: Text(project_code.description),
|
||||||
leading: Icon(TablerIcons.list),
|
leading: Icon(TablerIcons.list),
|
||||||
);
|
);
|
||||||
|
case "labeltemplate":
|
||||||
|
return ListTile(
|
||||||
|
title: Text((data["name"] ?? "").toString()),
|
||||||
|
subtitle: Text((data["description"] ?? "").toString()),
|
||||||
|
);
|
||||||
|
case "pluginconfig":
|
||||||
|
return ListTile(
|
||||||
|
title: Text(
|
||||||
|
(data["meta"]?["human_name"] ?? data["name"] ?? "").toString(),
|
||||||
|
),
|
||||||
|
subtitle: Text((data["meta"]?["description"] ?? "").toString()),
|
||||||
|
);
|
||||||
default:
|
default:
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(
|
title: Text(
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
name: inventree
|
name: inventree
|
||||||
description: InvenTree stock management
|
description: InvenTree stock management
|
||||||
|
|
||||||
version: 0.24.0+118
|
version: 0.24.1+119
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.8.1
|
sdk: ^3.8.1
|
||||||
|
|||||||
Reference in New Issue
Block a user