feat: add staff attire management feature

- Introduced localization for staff attire in English and Spanish.
- Created AttireItem entity to represent attire items.
- Implemented StaffAttireModule with repository, use cases, and BLoC for state management.
- Developed UI components including AttirePage, AttireGrid, AttireInfoCard, AttestationCheckbox, and AttireBottomBar.
- Added navigation for attire management and integrated with existing staff profile flow.
- Implemented functionality for selecting attire items, uploading photos, and saving selections with validation.
This commit is contained in:
Achintha Isuru
2026-01-25 12:23:28 -05:00
parent 13cacb9db7
commit 533a545da7
27 changed files with 1015 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import 'package:staff_bank_account/staff_bank_account.dart';
import 'package:staff_tax_forms/staff_tax_forms.dart';
import 'package:staff_documents/staff_documents.dart';
import 'package:staff_certificates/staff_certificates.dart';
import 'package:staff_attire/staff_attire.dart';
import 'package:staff_main/src/presentation/blocs/staff_main_cubit.dart';
import 'package:staff_main/src/presentation/constants/staff_main_routes.dart';
@@ -55,6 +56,7 @@ class StaffMainModule extends Module {
r.module('/onboarding', module: StaffProfileInfoModule());
r.module('/emergency-contact', module: StaffEmergencyContactModule());
r.module('/experience', module: StaffProfileExperienceModule());
r.module('/attire', module: StaffAttireModule());
r.module('/bank-account', module: StaffBankAccountModule());
r.module('/tax-forms', module: StaffTaxFormsModule());
r.module(

View File

@@ -41,6 +41,8 @@ dependencies:
path: ../profile_sections/compliance/documents
staff_certificates:
path: ../profile_sections/compliance/certificates
staff_attire:
path: ../profile_sections/onboarding/attire
# staff_shifts:
# path: ../shifts
# staff_payments: