2
0
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:
Oliver 2021-09-27 23:24:06 +10:00
parent d28392bae3
commit dcfd9d8dd4

View File

@ -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(),