@if(nCount($printHead) > 0) {!! $printHead->description !!} @endif

From Month : {{$from_month}}, To Month : {{$to_month}} @if(nCount($results) > 0) @php $serial = 0; $totalRating = 0; $item = 0; @endphp @foreach($results AS $value) @php $item++; $totalRating += round($value->avgRating,2); @endphp @endforeach @else @endif
S/L Month Rating(Out of 10)
{{++$serial}} {{convartMonthAndYearToWord($value->month) }} {{round($value->avgRating,2)}}
Employee Name:   {{$value->first_name }} {{$value->last_name }} ({{$value->department_name}})
Total Rating:   {{ $totalRating }}
Average Rating:   {{ $totalRating / $item }}
Data not available !