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'] }}
Date |
Time In |
Time Out |
Hours Worked |
@foreach($userData['records'] as $date => $record)
{{ \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
@endforeach