@extends('admin.master') @section('content') @section('title','Performance Summary Report')
@yield('title')

@if($results && nCount($results) > 0) @endif @if($results)
@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 }}
Star Rating:  
Data not available !
@endif
@endsection