Fixed web loading screen and setup related issues
This commit is contained in:
@@ -34,6 +34,8 @@ class BusinessHubScreen extends ConsumerWidget {
|
||||
final bool showInventory = featureState?.inventoryManagement ?? false;
|
||||
final bool showSales = featureState?.salesManagement ?? false;
|
||||
final bool showPurchase = featureState?.purchaseManagement ?? false;
|
||||
final nature = (profile?.natureOfBusiness ?? profile?.industry ?? 'JEWELLERY').toUpperCase();
|
||||
final bool isJewellery = nature == 'JEWELLERY';
|
||||
|
||||
return RefreshIndicator(
|
||||
onRefresh: () async {
|
||||
@@ -200,7 +202,7 @@ class BusinessHubScreen extends ConsumerWidget {
|
||||
),
|
||||
isDesktop: isDesktop,
|
||||
),
|
||||
if (showInventory)
|
||||
if (showInventory && isJewellery)
|
||||
_buildActionCard(
|
||||
context,
|
||||
'Daily Rates',
|
||||
|
||||
Reference in New Issue
Block a user