Training ID |
Need |
Category |
Type |
No of staff |
Duration |
Person hours |
Schedule |
Goal |
Action |
@if(auth()->user()->id==1)
Types of training |
@if($training_types->count()>0)
@foreach($training_types as $row)
{{ $row->name }} |
@endforeach
Total |
@endif
@if($training_types->count()>0)
|
@php
$total_ratings = 0;
@endphp
@foreach($training_types as $row)
@php
$total_ratings+=$row->planRatings();
@endphp
{{ $row->planRatings() }} |
@endforeach
@php
$avg = ($total_ratings>0 && $no_employee)?round($total_ratings/$no_employee,2):0;
@endphp
{{ $total_ratings }} |
Total No of Employee | {{ $no_employee }} |
Average Training Per-Hrs | {{ $avg }} per hrs/yr |
@endif
@endif