{{-- {{ substr($key, strripos($key,'#')+strlen('#')) }} | --}}
{!! end($attendance) !!} |
@foreach($attendance as $key2=>$day)
@if ($key2+1 <= count($attendance))
@if($day == 'Absent')
@elseif($day == 'Holiday')
@else
@if($day != '-')
@php
$totalPresent = $totalPresent + 1;
@endphp
@endif
{!! $day !!}
@endif
|
@endif
@endforeach
{{ $totalPresent .' / '.(count($attendance)-1) }} |
@endforeach