@php $manageShiftPermission = user()->permission('manage_employee_shifts'); @endphp
@lang('app.name') @lang('app.time') @lang('app.others') @if ($manageShiftPermission == 'all')   @lang('app.action') @endif @forelse($employeeShifts as $shift) {{ $shift->shift_name }}
@lang('modules.employees.startTime'): {{ \Carbon\Carbon::createFromFormat('H:i:s', $shift->office_start_time)->format(global_setting()->time_format) }}
@lang('modules.attendance.halfDay'): {{ $shift->halfday_mark_time? \Carbon\Carbon::createFromFormat('H:i:s', $shift->halfday_mark_time)->format(global_setting()->time_format): '' }}
@lang('modules.employees.endTime'): {{ \Carbon\Carbon::createFromFormat('H:i:s', $shift->office_end_time)->format(global_setting()->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 @endif @empty @endforelse