mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Merge remote-tracking branch 'origin/master' into stock-item-delete
This commit is contained in:
commit
d780a1faa1
3 changed files with 17 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue