@foreach ($dateWiseData as $key => $dateData) @php $currentDate = \Carbon\Carbon::parse($key); @endphp @if($dateData['attendance'])
{{ $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') |
- | - | @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 |