@php $editAttendancePermission = user()->permission('edit_attendance'); $deleteAttendancePermission = user()->permission('delete_attendance'); @endphp
{{ (!is_null($attendance->user->employeeDetail) && !is_null($attendance->user->employeeDetail->designation)) ? ucwords($attendance->user->employeeDetail->designation->name) : ' ' }}
{{ $startTime->format(global_setting()->time_format) }}
{{ $endTime != '' ? $endTime->format(global_setting()->time_format) : '' }} @if (isset($notClockedOut)) (@lang('modules.attendance.notClockOut')) @endif
@lang('modules.attendance.clock_in') @if (!is_null($item->employee_shift_id)) {{ $item->shift->shift_name }} @endif
{{ $item->clock_in_time->timezone(global_setting()->timezone)->format(global_setting()->date_format . ' ' . global_setting()->time_format) }} {{ $item->location }} ({{$item->working_from}}) @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(global_setting()->timezone)->format(global_setting()->date_format . ' ' . global_setting()->time_format) }} @else @lang('modules.attendance.notClockOut') @endif