mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 10:15:32 +00:00
Request list of supplierparts
This commit is contained in:
@ -325,13 +325,11 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||
// Tiles for "purchaseable" parts
|
||||
if (part.isPurchaseable) {
|
||||
|
||||
// Suppliers (TODO)
|
||||
if (part.supplier_count > 0) {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().suppliers),
|
||||
leading: FaIcon(FontAwesomeIcons.industry),
|
||||
trailing: Text("${part.supplier_count}"),
|
||||
trailing: Text("${part.supplierCount}"),
|
||||
onTap: () {
|
||||
// TODO
|
||||
},
|
||||
|
Reference in New Issue
Block a user