@for($i =1; $i <= $daysInMonth; $i++) @endfor @foreach($employeeAttendence as $key => $attendance) @foreach($attendance as $key2=>$day) @if ($key2+1 <= count($attendance)) @endif @endforeach @endforeach
@lang('app.employee'){{ $i }}
{!! end($attendance) !!} @if($day == 'Absent') @else {!! $day !!} @endif