@forelse ($dateWiseData as $key => $dateData) @php $currentDate = \Carbon\Carbon::parse($key); @endphp @if (isset($dateData['attendance']) && ($dateData['attendance'] == true) && $dateData['leave'] != true)
{{ $currentDate->translatedFormat(company()->date_format) }}

@lang('modules.attendance.present') @foreach ($dateData['attendance'] as $attendance) {{ $attendance->clock_in_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @if ($attendance->late == 'yes') @lang('modules.attendance.late') @endif @if ($attendance->half_day == 'yes') @lang('modules.attendance.halfDay') @endif @if ($attendance->work_from_type != '') @if ($attendance->work_from_type == 'other') {{ $attendance->location }} ({{$attendance->working_from}}) @else {{ $attendance->location }} ({{$attendance->work_from_type}}) @endif @endif @if (!is_null($attendance->clock_out_time)) {{ $attendance->clock_out_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @else - @endif @endforeach {{ $attendance->totalTime($attendance->clock_in_time, $attendance->clock_in_time, $attendance->user_id) }} @lang('app.details') @else
{{ $currentDate->translatedFormat(company()->date_format) }}

{{ $currentDate->translatedFormat('l') }}

@if (!$dateData['holiday'] && !$dateData['leave']) @elseif($dateData['leave']) @if ($dateData['leave']['duration'] == 'half day')

@else @endif @else @endif @if (isset($dateData['attendance']) && ($dateData['attendance'] == true)) @foreach ($dateData['attendance'] as $attendance) {{ $attendance->clock_in_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @if ($attendance->late == 'yes') @lang('modules.attendance.late') @endif @if ($attendance->half_day == 'yes') @lang('modules.attendance.halfDay') @endif @if ($attendance->work_from_type != '') @if ($attendance->work_from_type == 'other') {{ $attendance->location }} ({{$attendance->working_from}}) @else {{ $attendance->location }} ({{$attendance->work_from_type}}) @endif @endif @if (!is_null($attendance->clock_out_time)) {{ $attendance->clock_out_time->timezone(company()->timezone)->translatedFormat(company()->time_format) }} @else - @endif @endforeach {{ $attendance->totalTime($attendance->clock_in_time, $attendance->clock_in_time, $attendance->user_id) }} @lang('app.details') @else
- -
- - @endif @endif @empty @endforelse