@php $manageShiftPermission = user()->permission('manage_employee_shifts'); @endphp
@lang('app.name') @lang('app.time') @lang('app.others') @if ($manageShiftPermission == 'all')   @lang('app.action') @else   @endif @forelse($employeeShifts as $shift) {{ $shift->shift_name }}
@lang('modules.employees.startTime'): {{ \Carbon\Carbon::createFromFormat('H:i:s', $shift->office_start_time)->translatedFormat(company()->time_format) }}
@lang('modules.attendance.halfDay'): {{ $shift->halfday_mark_time? \Carbon\Carbon::createFromFormat('H:i:s', $shift->halfday_mark_time)->translatedFormat(company()->time_format): '' }}
@lang('modules.employees.endTime'): {{ \Carbon\Carbon::createFromFormat('H:i:s', $shift->office_end_time)->translatedFormat(company()->time_format) }}
@lang('modules.attendance.lateMark'): {{ $shift->late_mark_duration }}
@lang('modules.attendance.checkininday'): {{ $shift->clockin_in_day }}
@lang('modules.attendance.officeOpenDays'): @foreach (json_decode($shift->office_open_days) as $item) {{ $weekMap[$item] }} @endforeach
@if ($manageShiftPermission == 'all') @if ($shift->id != attendance_setting()->default_employee_shift) @endif @elseif (isset($shift) && isset($defaultShift) && $shift->shift_name == $defaultShift->shift_name) @lang('app.defaultShift') @else   @endif @empty @endforelse