@lang('app.date'):
{{ $shift->date->translatedFormat(company()->date_format) }}
({{ $shift->date->translatedFormat('l') }})
@if ($shift->shift->shift_name == 'Day Off')
{{ __('modules.attendance.' . str($shift->shift->shift_name)->camel()) }}
@else
{{ $shift->shift->shift_name }}
@endif
@if($employeeShifts->isEmpty())
{{__('app.alternateShift')}}
@else
@if (!is_null($shift->requestChange) && $shift->requestChange->status == 'waiting')
@lang('modules.attendance.requestFor')
{{ ($shift->requestChange->shift->shift_name != 'Day Off') ? $shift->requestChange->shift->shift_name : __('modules.attendance.' . str($shift->requestChange->shift->shift_name)->camel()) }}
@lang('app.reason')
{{ $shift->requestChange->reason ?? '--' }}
@else
@foreach ($employeeShifts as $item)
@if ($shift->employee_shift_id != $item->id)
@endif
@endforeach
@endif
@endif