Back to Shifts
{{ $pageTitle ?? 'Edit Shift' }}
Shift Details
@csrf @method('PUT')
Department
- All Departments -
@foreach($departments as $dept)
department == $dept ? 'selected' : '' }}>{{ $dept }}
@endforeach
Role
- All Roles -
@foreach($roles as $role)
role_name == $role->name ? 'selected' : '' }}>{{ $role->name }}
@endforeach
Staff
- All Staff -
@foreach($staffList as $staff)
staff_id == $staff->id ? 'selected' : '' }}> {{ $staff->first_name }} {{ $staff->last_name }}
@endforeach
Shift Type
@foreach($shiftTypes as $type)
shift_type_id == $type->id ? 'selected' : '' }}> {{ $type->name }} ({{ $type->work_timing }})
@endforeach
From Date
To Date
Repeat Type
repeat_type == 'weekly' ? 'selected' : '' }}>Weekly
repeat_type == 'specific' ? 'selected' : '' }}>Specific Period
Working Days
@php $selectedDays = $shift->repeat_days ?? []; @endphp @foreach($weekdays as $day)
{{ $day }}
@endforeach
status ? 'checked' : '' }}>
Active
Update Shift
Cancel