mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
Display stock item status
This commit is contained in:
parent
dbc2a7b12b
commit
ce2a866384
5 changed files with 59 additions and 7 deletions
|
|
@ -303,7 +303,13 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
title: Text("${item.partName}"),
|
||||
subtitle: Text("${item.partDescription}"),
|
||||
leading: InvenTreeAPI().getImage(item.partImage),
|
||||
trailing: Text(item.serialOrQuantityDisplay()),
|
||||
trailing: Text(
|
||||
item.statusLabel(context),
|
||||
style: TextStyle(
|
||||
color: item.statusColor
|
||||
)
|
||||
),
|
||||
//trailing: Text(item.serialOrQuantityDisplay()),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue