@foreach(['present'=>['Present','users'],'absent'=>['Absent','calendar'],'late'=>['Late arrivals','clock'],'exceptions'=>['Needs review','file']] as $key=>[$label,$icon])
{{ $label }}{{ $totals[$key] }}employee-days on this page
@endforeach

Attendance distribution

Selected employees and period
@foreach(['present'=>'Present','absent'=>'Absent','leave'=>'Approved leave','weekly_off'=>'Weekly off','exceptions'=>'Review exceptions'] as $key=>$label)
{{ $label }}{{ $totals[$key] }}{{ $totals[$key] }}
@endforeach

Working time

{{ \App\Domain\Operations\AttendanceRegister::hours($totals['minutes']) }}net recorded hours

{{ \App\Domain\Operations\AttendanceRegister::hours($totals['overtime']) }} recorded overtime hours ยท approval required separately

Explore attendance reports
@include('attendance.register')