2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Abstract CompanyList class

- Now support SupplierList class
- Now support CustomerList class
This commit is contained in:
Oliver Walters
2020-04-06 23:44:01 +10:00
parent d2168b2cb9
commit 3c4e03ae1d
2 changed files with 30 additions and 6 deletions

View File

@ -216,7 +216,7 @@ class _MyHomePageState extends State<MyHomePage> {
void _suppliers() {
if (!InvenTreeAPI().checkConnection(context)) return;
Navigator.push(context, MaterialPageRoute(builder: (context) => CompanyListWidget()));
Navigator.push(context, MaterialPageRoute(builder: (context) => SupplierListWidget()));
}
void _unsupported() {
@ -249,7 +249,7 @@ class _MyHomePageState extends State<MyHomePage> {
title: Text(widget.title),
actions: <Widget>[
IconButton(
icon: Icon(Icons.search),
icon: FaIcon(FontAwesomeIcons.search),
tooltip: 'Search',
onPressed: null,
),