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