deleting default data

This commit is contained in:
José Salazar
2026-01-29 10:15:17 -05:00
parent ff132e1ffc
commit 0fff3bda58
4 changed files with 8 additions and 6 deletions

View File

@@ -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 <ReorderItem>[],
this.businessName = 'Your Company',

View File

@@ -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;

View File

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

View File

@@ -6,6 +6,8 @@ type TeamHub @table(name: "team_hubs") {
hubName: String!
address: String!
addressLocation: Any #object
city: String
state: String
zipCode: String