2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00

display stock item packaging

This commit is contained in:
Oliver Walters
2021-08-10 00:12:41 +10:00
parent baa3d3a1bb
commit 87864d2f07
3 changed files with 13 additions and 1 deletions

View File

@ -468,6 +468,16 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
);
}
if (item.packaging.isNotEmpty) {
tiles.add(
ListTile(
title: Text(L10().packaging),
subtitle: Text(item.packaging),
leading: FaIcon(FontAwesomeIcons.box),
)
);
}
// Last update?
var update_date = item.updatedDateString;