mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 18:03:17 +00:00
Cleanup
This commit is contained in:
parent
0c4803b889
commit
c2aa51ed95
8 changed files with 28 additions and 19 deletions
|
|
@ -214,7 +214,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
// Stock information
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text("Stock"),
|
||||
title: Text(I18N.of(context).stock),
|
||||
leading: FaIcon(FontAwesomeIcons.boxes),
|
||||
trailing: Text("${part.inStock}"),
|
||||
onTap: () {
|
||||
|
|
@ -230,7 +230,9 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
title: Text("On Order"),
|
||||
leading: FaIcon(FontAwesomeIcons.shoppingCart),
|
||||
trailing: Text("${part.onOrder}"),
|
||||
onTap: null,
|
||||
onTap: () {
|
||||
// TODO: Click through to show items on order
|
||||
},
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue