@php $addAttendancePermission = user()->permission('add_attendance'); $editAttendancePermission = user()->permission('edit_attendance'); $deleteAttendancePermission = user()->permission('delete_attendance'); @endphp
{{ (!is_null($attendance->user->employeeDetail) && !is_null($attendance->user->employeeDetail->designation)) ? $attendance->user->employeeDetail->designation->name : ' ' }}
{{ $startTime->translatedFormat(company()->time_format) }}
{{ $endTime != '' ? $endTime->translatedFormat(company()->time_format) : '' }} @if (isset($notClockedOut)) (@lang('modules.attendance.notClockOut')) @endif
@lang('modules.attendance.clock_in') @if (!is_null($item->employee_shift_id)) @if ($item->shift->shift_name != 'Day Off') {{ $item->shift->shift_name }} @else {{ __('modules.attendance.' . str($attendanceSettings->shift_name)->camel()) }} @endif @endif
{{ $item->clock_in_time->timezone(company()->timezone)->translatedFormat(company()->date_format . ' ' . company()->time_format) }} @if ($item->work_from_type != '') @if ($item->work_from_type == 'other') {{ $item->location }} {{ $item->working_from != '' ? '(' . $item->working_from . ')' : '' }} @else {{ $item->location }} ({{$item->work_from_type}}) @endif @endif @if ($item->late == 'yes') @lang('modules.attendance.late') @endif @if ($item->half_day == 'yes') @lang('modules.attendance.halfDay') @endif @if ($item->latitude != '' && $item->longitude != '') @lang('modules.attendance.showOnMap') @endif
@lang('modules.attendance.clock_out')
@if (!is_null($item->clock_out_time)) {{ $item->clock_out_time->timezone(company()->timezone)->translatedFormat(company()->date_format . ' ' . company()->time_format) }} @else @lang('modules.attendance.notClockOut') @endif