feat: add ShiftAssignmentCard widget and StaffShifts module
- Implemented ShiftAssignmentCard widget for displaying shift assignments with client details, pay calculation, and confirmation actions. - Created StaffShiftsModule to manage dependencies, routes, and use cases related to staff shifts. - Added necessary dependencies in pubspec.yaml and generated pubspec.lock.
This commit is contained in:
@@ -662,6 +662,48 @@
|
||||
"upload_required": "✓ Upload photos of required items",
|
||||
"accept_attestation": "✓ Accept attestation"
|
||||
}
|
||||
},
|
||||
"staff_shifts": {
|
||||
"title": "Shifts",
|
||||
"tabs": {
|
||||
"my_shifts": "My Shifts",
|
||||
"find_work": "Find Work"
|
||||
},
|
||||
"list": {
|
||||
"no_shifts": "No shifts found",
|
||||
"pending_offers": "PENDING OFFERS",
|
||||
"available_jobs": "$count AVAILABLE JOBS",
|
||||
"search_hint": "Search jobs..."
|
||||
},
|
||||
"filter": {
|
||||
"all": "All Jobs",
|
||||
"one_day": "One Day",
|
||||
"multi_day": "Multi Day",
|
||||
"long_term": "Long Term"
|
||||
},
|
||||
"status": {
|
||||
"confirmed": "CONFIRMED",
|
||||
"act_now": "ACT NOW",
|
||||
"swap_requested": "SWAP REQUESTED",
|
||||
"completed": "COMPLETED",
|
||||
"no_show": "NO SHOW",
|
||||
"pending_warning": "Please confirm assignment"
|
||||
},
|
||||
"action": {
|
||||
"decline": "Decline",
|
||||
"confirm": "Confirm",
|
||||
"request_swap": "Request Swap"
|
||||
},
|
||||
"details": {
|
||||
"additional": "ADDITIONAL DETAILS",
|
||||
"days": "$days Days",
|
||||
"exp_total": "(exp.total \\$$amount)",
|
||||
"pending_time": "Pending $time ago"
|
||||
},
|
||||
"tags": {
|
||||
"immediate_start": "Immediate start",
|
||||
"no_experience": "No experience"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -661,5 +661,47 @@
|
||||
"upload_required": "✓ Subir fotos de artículos requeridos",
|
||||
"accept_attestation": "✓ Aceptar certificación"
|
||||
}
|
||||
},
|
||||
"staff_shifts": {
|
||||
"title": "Shifts",
|
||||
"tabs": {
|
||||
"my_shifts": "My Shifts",
|
||||
"find_work": "Find Work"
|
||||
},
|
||||
"list": {
|
||||
"no_shifts": "No shifts found",
|
||||
"pending_offers": "PENDING OFFERS",
|
||||
"available_jobs": "$count AVAILABLE JOBS",
|
||||
"search_hint": "Search jobs..."
|
||||
},
|
||||
"filter": {
|
||||
"all": "All Jobs",
|
||||
"one_day": "One Day",
|
||||
"multi_day": "Multi Day",
|
||||
"long_term": "Long Term"
|
||||
},
|
||||
"status": {
|
||||
"confirmed": "CONFIRMED",
|
||||
"act_now": "ACT NOW",
|
||||
"swap_requested": "SWAP REQUESTED",
|
||||
"completed": "COMPLETED",
|
||||
"no_show": "NO SHOW",
|
||||
"pending_warning": "Please confirm assignment"
|
||||
},
|
||||
"action": {
|
||||
"decline": "Decline",
|
||||
"confirm": "Confirm",
|
||||
"request_swap": "Request Swap"
|
||||
},
|
||||
"details": {
|
||||
"additional": "ADDITIONAL DETAILS",
|
||||
"days": "$days Days",
|
||||
"exp_total": "(exp.total \\$$amount)",
|
||||
"pending_time": "Pending $time ago"
|
||||
},
|
||||
"tags": {
|
||||
"immediate_start": "Immediate start",
|
||||
"no_experience": "No experience"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user