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

Test Result

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
    {{ $trTestParticipant->selectedCandidate->candidate->user->name }}
    @if(isset($trTestParticipant->selectedCandidate->jobs->jobTitle->name))
  • Position: {{ $trTestParticipant->selectedCandidate->jobs->jobTitle->name}}
  • @endif
  • Total Marks: {{ $trTestParticipant->trTestResponses()->totalMarks() }}
  • Result: {{ +$trTestParticipant->obtained }} ({{ +$trTestParticipant->percentage }}%)
  • Total Question: {{ $trTestParticipant->trTestResponses()->totalQuestion() }}
  • Total Answered: {{ $trTestParticipant->trTestResponses()->totalAnswered() }}
  • Correct Answer: {{ $trTestParticipant->trTestResponses()->correctAnswer() }}
  • Theory Answer: {{ $trTestParticipant->trTestResponses()->theoryQuestion() }}
  • @csrf
@csrf @method('PUT') @forelse($trTestParticipant->trTestResponses as $trTestResponse)
@empty No answers found @endforelse @if($trTestParticipant->trTestResponses()->theoryQuestion() > 0) @endif
@include('admin.sections.footer')
@endsection @push('js') @endpush