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:
@@ -640,5 +640,28 @@
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Remove"
|
||||
}
|
||||
},
|
||||
"staff_profile_attire": {
|
||||
"title": "Attire",
|
||||
"info_card": {
|
||||
"title": "Your Wardrobe",
|
||||
"description": "Select the attire items you own. This helps us match you with shifts that fit your wardrobe."
|
||||
},
|
||||
"status": {
|
||||
"required": "REQUIRED",
|
||||
"add_photo": "Add Photo",
|
||||
"added": "Added",
|
||||
"pending": "⏳ Pending verification"
|
||||
},
|
||||
"attestation": "I certify that I own these items and will wear them to my shifts. I understand that items are pending manager verification at my first shift.",
|
||||
"actions": {
|
||||
"save": "Save Attire"
|
||||
},
|
||||
"validation": {
|
||||
"select_required": "✓ Select all required items",
|
||||
"upload_required": "✓ Upload photos of required items",
|
||||
"accept_attestation": "✓ Accept attestation"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -639,5 +639,27 @@
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Remove"
|
||||
}
|
||||
},
|
||||
"staff_profile_attire": {
|
||||
"title": "Vestimenta",
|
||||
"info_card": {
|
||||
"title": "Tu Vestuario",
|
||||
"description": "Selecciona los artículos de vestimenta que posees. Esto nos ayuda a asignarte turnos que se ajusten a tu vestuario."
|
||||
},
|
||||
"status": {
|
||||
"required": "REQUERIDO",
|
||||
"add_photo": "Añadir Foto",
|
||||
"added": "Añadido",
|
||||
"pending": "⏳ Verificación pendiente"
|
||||
},
|
||||
"attestation": "Certifico que poseo estos artículos y los usaré en mis turnos. Entiendo que los artículos están pendientes de verificación por el gerente en mi primer turno.",
|
||||
"actions": {
|
||||
"save": "Guardar Vestimenta"
|
||||
},
|
||||
"validation": {
|
||||
"select_required": "✓ Seleccionar todos los artículos requeridos",
|
||||
"upload_required": "✓ Subir fotos de artículos requeridos",
|
||||
"accept_attestation": "✓ Aceptar certificación"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user