{{-- dtr --}}

DTR Summary

@foreach($allMonthsData as $monthKey => $monthData)

{{ $monthData['month_name'] }}

@foreach($monthData['users'] as $userData)

{{ $userData['user']->firstname }} {{ $userData['user']->lastname }} ({{ $userData['user']->email }}) Total Hours: {{ $userData['total_hours'] }}

@foreach($userData['records'] as $date => $record) @endforeach
Date Time In Time Out Hours Worked
{{ \Carbon\Carbon::parse($date)->format('M d, Y') }} {{ $record['time_in'] }} {{ $record['time_out'] }} {{ ((int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT)) }}
@endforeach
@endforeach