mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 19:46:25 +00:00
Abstract CompanyList class
- Now support SupplierList class - Now support CustomerList class
This commit is contained in:
parent
d2168b2cb9
commit
3c4e03ae1d
2 changed files with 30 additions and 6 deletions
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue