mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-14 19:25:27 +00:00
Add "customers" button to home screen
This commit is contained in:
@ -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(),
|
||||||
|
Reference in New Issue
Block a user