Create Shift Assignment
@csrf {{-- Section 1: Shift Type --}}
1 Select Shift Type
General Shift
09:00 AM - 06:00 PM
Days Off: Saturday, Sunday
{{-- Section 2: Date Range --}}
2 Date Range
Leave empty for permanent/ongoing assignment
{{-- Section 3: Who to Assign --}}
3 Who to Assign
{{-- Department Filter --}}
Filter by Department (optional)
@foreach($departments ?? [] as $dept) @endforeach @if(empty($departments)) No departments found @endif
Leave unchecked to include all departments
{{-- Role Filter --}}
Filter by Role (optional)
@foreach($roles ?? [] as $role) @endforeach
Leave unchecked to include all roles
{{-- Specific Staff Toggle --}} {{-- Specific Staff Selection --}}
0 selected
@foreach($staffList ?? [] as $staff) @endforeach
{{-- Staff Preview --}}
Staff to be assigned: {{ count($staffList ?? []) }}
@foreach($staffList ?? [] as $staff)
{{ $staff->first_name }} {{ $staff->last_name }} ({{ $staff->department ?? '-' }})
@endforeach
{{-- Hidden field for assignment type --}}
Cancel