mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-29 22:16:47 +00:00
Add "customers" button to home screen
This commit is contained in:
parent
d28392bae3
commit
dcfd9d8dd4
@ -87,6 +87,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
|
|||||||
if (!InvenTreeAPI().checkConnection(context)) return;
|
if (!InvenTreeAPI().checkConnection(context)) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void _showSuppliers(BuildContext context) {
|
void _showSuppliers(BuildContext context) {
|
||||||
if (!InvenTreeAPI().checkConnection(context)) return;
|
if (!InvenTreeAPI().checkConnection(context)) return;
|
||||||
|
|
||||||
@ -346,6 +347,13 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
|
|||||||
callback: () {
|
callback: () {
|
||||||
_showManufacturers(context);
|
_showManufacturers(context);
|
||||||
}
|
}
|
||||||
|
),
|
||||||
|
_iconButton(
|
||||||
|
L10().customers,
|
||||||
|
FontAwesomeIcons.userTie,
|
||||||
|
callback: () {
|
||||||
|
_showCustomers(context);
|
||||||
|
}
|
||||||
),
|
),
|
||||||
/*
|
/*
|
||||||
Spacer(),
|
Spacer(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user