mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Merge remote-tracking branch 'origin/master' into stock-item-delete
This commit is contained in:
@ -735,7 +735,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
});
|
||||
}
|
||||
},
|
||||
)
|
||||
),
|
||||
);
|
||||
} else {
|
||||
tiles.add(
|
||||
@ -747,6 +747,19 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
);
|
||||
}
|
||||
|
||||
if (item.isBuilding) {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().inProduction),
|
||||
leading: FaIcon(FontAwesomeIcons.tools),
|
||||
subtitle: Text(L10().inProductionDetail),
|
||||
onTap: () {
|
||||
// TODO: Click through to the "build order"
|
||||
},
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if (item.batch.isNotEmpty) {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
|
Reference in New Issue
Block a user