Employee Of The Week List

@php $i = 0 @endphp @foreach($data as $m) @php $total_points = $m->Total_point ?? 0; $total_award = $m->Total_award ?? 0; @endphp @php $i = $i+1 @endphp @for($i=$i;$i<=count($data);) @break @endfor @endforeach
Sr. No Employee Id Employee Name Points Total award
{{$i}} {{$m->id}} {{$m->first_name}} {{$m->last_name}} {{$total_points}} {{$total_award}}