{{ auth()->user()->tenant_name }} - Department wise attendance
{{-- --}}
@forelse ($data as $value) {{-- --}} @empty @endforelse
Sr No Department Total Employee Today's Present Today's Absent Progress Bar
{{ $loop->iteration }} {{ $value->name }} {{ $value->users_count }} {{ $value->present_count }} {{ $value->users_count - $value->present_count }}
   {{ $value->users_count ? floor(($value->present_count / $value->users_count) * 100) : ' 0' }}%
{{ }}
{{-- Get month wise date --}}