2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-06-10 08:27:15 +00:00

Support "creation_date" field for StockItem (#823)

Ref: https://github.com/inventree/InvenTree/pull/12011
This commit is contained in:
Oliver
2026-05-27 20:01:03 +10:00
committed by GitHub
parent 8077c16b6a
commit 86b126f129
4 changed files with 38 additions and 9 deletions
+11
View File
@@ -732,6 +732,17 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
);
}
if (api.supportsStockItemCreationDate &&
widget.item.creationDateString.isNotEmpty) {
tiles.add(
ListTile(
title: Text(L10().creationDate),
trailing: LargeText(widget.item.creationDateString),
leading: Icon(TablerIcons.calendar_plus),
),
);
}
// Last update?
if (widget.item.updatedDateString.isNotEmpty) {
tiles.add(