@forelse ($dateWiseData as $key => $dateData) @php $currentDate = \Carbon\Carbon::parse($key); @endphp @if ($dateData['attendance'])
{{ $currentDate->format(global_setting()->date_format) }}

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

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

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

@else @endif @else @endif
- -
- - @endif @empty @endforelse