@foreach ($dateWiseData as $key => $dateData) @php $currentDate = \Carbon\Carbon::parse($key); @endphp @if($dateData['attendance']) {{ $currentDate->format($global->date_format) }}
@foreach ($dateData['attendance'] as $attendance) @if ($attendance->half_day == 'yes') @endif @if ($attendance->late == 'yes') @endif @endforeach @foreach($dateData['attendance'] as $attendance) @endforeach
{{ $attendance->clock_in_time->timezone($global->timezone)->format($global->time_format) }} @if (!is_null($attendance->clock_out_time)) {{ $attendance->clock_out_time->timezone($global->timezone)->format($global->time_format) }} @else - @endif @lang('modules.attendance.clock_in') IP: {{ $attendance->clock_in_ip }}
@lang('modules.attendance.clock_out') IP: {{ $attendance->clock_out_ip }}
@lang('modules.attendance.working_from'): {{ $attendance->working_from }}
@lang('app.delete')
@else {{ $currentDate->format($global->date_format) }}
@if (!$dateData['holiday'] && !$dateData['leave']) @elseif($dateData['leave']) @else @endif
- - @if ($dateData['holiday'] && !$dateData['leave']) @lang('modules.attendance.holidayfor') {{ ucwords($dateData['holiday']->occassion) }} @elseif($dateData['leave']) @lang('modules.attendance.leaveFor') {{ ucwords($dateData['leave']['reason']) }} @else - @endif
@endif @endforeach