feat: add staff payments feature with mock data source and UI components
This commit is contained in:
@@ -11,6 +11,7 @@ import 'package:staff_documents/staff_documents.dart';
|
||||
import 'package:staff_certificates/staff_certificates.dart';
|
||||
import 'package:staff_attire/staff_attire.dart';
|
||||
import 'package:staff_shifts/staff_shifts.dart';
|
||||
import 'package:staff_payments/staff_payements.dart';
|
||||
|
||||
import 'package:staff_main/src/presentation/blocs/staff_main_cubit.dart';
|
||||
import 'package:staff_main/src/presentation/constants/staff_main_routes.dart';
|
||||
@@ -33,10 +34,9 @@ class StaffMainModule extends Module {
|
||||
StaffMainRoutes.shifts,
|
||||
module: StaffShiftsModule(),
|
||||
),
|
||||
ChildRoute<dynamic>(
|
||||
ModuleRoute<dynamic>(
|
||||
StaffMainRoutes.payments,
|
||||
child: (BuildContext context) =>
|
||||
const PlaceholderPage(title: 'Payments'),
|
||||
module: StaffPaymentsModule(),
|
||||
),
|
||||
ModuleRoute<dynamic>(
|
||||
StaffMainRoutes.home,
|
||||
|
||||
@@ -45,8 +45,8 @@ dependencies:
|
||||
path: ../profile_sections/onboarding/attire
|
||||
staff_shifts:
|
||||
path: ../shifts
|
||||
# staff_payments:
|
||||
# path: ../payments
|
||||
staff_payments:
|
||||
path: ../payments
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user