diff --git a/apps/mobile/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart b/apps/mobile/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart index f92cc85d..1e4a7b18 100644 --- a/apps/mobile/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart +++ b/apps/mobile/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart @@ -39,8 +39,8 @@ class ClientHomeState extends Equatable { next7DaysSpending: 6100.0, weeklyShifts: 12, next7DaysScheduled: 18, - totalNeeded: 10, - totalFilled: 8, + totalNeeded: 0, + totalFilled: 0, ), this.reorderItems = const [], this.businessName = 'Your Company', diff --git a/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart b/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart index c40f0202..5594b15d 100644 --- a/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart +++ b/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart @@ -25,7 +25,7 @@ class CoverageDashboard extends StatelessWidget { for (final s in shifts) { final int needed = s['workersNeeded'] as int? ?? 0; final int confirmed = s['filled'] as int? ?? 0; - final double rate = s['hourlyRate'] as double? ?? 20.0; + final double rate = s['hourlyRate'] as double? ?? 0.0; totalNeeded += needed; totalConfirmed += confirmed; diff --git a/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart b/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart index 9e812804..03ac041d 100644 --- a/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart +++ b/apps/mobile/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart @@ -15,9 +15,9 @@ class CoverageWidget extends StatelessWidget { /// Creates a [CoverageWidget]. const CoverageWidget({ super.key, - this.totalNeeded = 10, - this.totalConfirmed = 8, - this.coveragePercent = 80, + this.totalNeeded = 0, + this.totalConfirmed = 0, + this.coveragePercent = 0, }); @override diff --git a/backend/dataconnect/schema/teamHub.gql b/backend/dataconnect/schema/teamHub.gql index a206a6fd..7691b480 100644 --- a/backend/dataconnect/schema/teamHub.gql +++ b/backend/dataconnect/schema/teamHub.gql @@ -6,6 +6,8 @@ type TeamHub @table(name: "team_hubs") { hubName: String! address: String! + addressLocation: Any #object + city: String state: String zipCode: String