@for($i =1; $i <= $daysInMonth; $i++) @endfor @foreach($employeeAttendence as $key => $attendance) @foreach($attendance as $day) @endforeach @endforeach
Employee{{ $i }}
{{ substr($key, strripos($key,'#')+strlen('#')) }} {!! $day !!}