Fixed web loading screen and setup related issues

This commit is contained in:
2026-09-01 07:38:45 +05:30
parent a0e7a898fa
commit bfe0c1efbd
14 changed files with 268 additions and 131 deletions

View File

@@ -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',