@method('PUT')
@lang('app.editRotation')
--
rotation_frequency == 'weekly') selected @endif>@lang('app.weekly')
rotation_frequency == 'bi-weekly') selected @endif>@lang('app.bi-weekly')
rotation_frequency == 'monthly') selected @endif>@lang('app.monthly')
--
schedule_on == 'every-monday') selected @endif>@lang('app.every') @lang('app.monday')
schedule_on == 'every-tuesday') selected @endif>@lang('app.every') @lang('app.tuesday')
schedule_on == 'every-wednesday') selected @endif>@lang('app.every') @lang('app.wednesday')
schedule_on == 'every-thursday') selected @endif>@lang('app.every') @lang('app.thursday')
schedule_on == 'every-friday') selected @endif>@lang('app.every') @lang('app.friday')
schedule_on == 'every-saturday') selected @endif>@lang('app.every') @lang('app.saturday')
schedule_on == 'every-sunday') selected @endif>@lang('app.every') @lang('app.sunday')
--
@foreach ($dates as $date)
rotation_date == $date) selected @endif>{{ $date }}
@endforeach
--
@foreach ($employeeShifts as $item)
{{ ($item->shift_name != 'Day Off') ? $item->shift_name : __('modules.attendance.' . str($item->shift_name)->camel()) }}{{ ($item->shift_name != 'Day Off') ? ' ['.$item->office_start_time.' - '.$item->office_end_time.']' : ''}}
@endforeach
@lang('app.clickToAdd')
@foreach ($shiftRotation->sequences as $sequence)
{{ ($sequence->shift->shift_name != 'Day Off') ? $sequence->shift->shift_name : __('modules.attendance.' . str($sequence->shift->shift_name)->camel()) }}{{ ($sequence->shift->shift_name != 'Day Off') ? ' ['.$sequence->shift->office_start_time.' - '.$sequence->shift->office_end_time.']' : ''}}
×
@endforeach
@lang('app.save')
@lang('app.cancel')