deleting default data
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,6 +6,8 @@ type TeamHub @table(name: "team_hubs") {
|
||||
|
||||
hubName: String!
|
||||
address: String!
|
||||
addressLocation: Any #object
|
||||
|
||||
city: String
|
||||
state: String
|
||||
zipCode: String
|
||||
|
||||
Reference in New Issue
Block a user