Merge remote-tracking branch 'origin/master' into stock-item-delete

This commit is contained in:
Oliver Walters 2022-03-26 19:04:48 +11:00
commit d780a1faa1
3 changed files with 17 additions and 2 deletions

View file

@ -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(