@extends('Training::backend.layouts.app') @section('title', 'Rating List') @push('css') @endpush @section('content')

TNA Rating Info

Candidate Info

Candidate Name: {!! $trTestParticipants->selectedCandidate->candidate->user->name ?? '' !!}
Batch Name: {!! $trTestParticipants->selectedCandidate->batch_name ?? '' !!}
Candidate Email: {!! $trTestParticipants->selectedCandidate->candidate->user->email ?? '' !!}
Candidate Mobile: {!! $trTestParticipants->selectedCandidate->candidate->user->phone ?? '' !!}
@php $catname = ""; $totalScore = 0; $avgScored = 0; $percentScored = 0; @endphp
Knowledge/Skills/Abilities: (Rating: 2 = Poor, 4 = Below Average, 6 = Average, 8 = Above Average, 10 = Good)
@foreach ($tnaInfo as $key=>$infoval) @php $catNewName = $infoval->TrTrainingTlCategory->tls_category_name; $fontName = (isset($tnaInfo[$key+1]->TrTrainingTlCategory->tls_category_name)) ? $tnaInfo[$key+1]->TrTrainingTlCategory->tls_category_name : ""; @endphp @if ($catNewName != $catname )
{{ $catNewName }}
@endif @if ($catNewName != $fontName )
Skill Rating
{!! $infoval->TrTrainingTl->tls_name !!} {!! $infoval->tna_rating !!}
@endif @php $catname = $infoval->TrTrainingTlCategory->tls_category_name; $totalScore = $infoval->tna_rating + $totalScore; $percentScored = $infoval->tna_rating + $percentScored; @endphp @endforeach
Total
Total Score : {!! $totalScore !!}
Average Score : {!! number_format($percentScored/count($tnaInfo),2) !!} (out of 10)
Score% : {!! number_format(($percentScored/count($tnaInfo))*10,2) !!}%
@include('admin.sections.footer') @endsection @push('js') @endpush