Test Results
@if(!empty($get_candidate_list))
Result For {{ $get_candidate_list->pro_candidate->first_name}} {{ $get_candidate_list->pro_candidate->last_name ?? '--'}}
@endif|
Name:{{$get_candidate_list->pro_candidate->first_name.' '.$get_candidate_list->pro_candidate->last_name}}
|
@endif
Assessment Name:{{$ass_detail->name}}
|
Assessment Date:{{\Carbon\carbon::parse($get_attempt_date->end_date)->format('d-m-Y')}}
|
|
Overall Score:{{ $overall_score ? $overall_score : 0}}
|
Total time:{{ $hours . " Hours : " . $minutes . " Minutes : " . $seconds . " Seconds"}}
|
Question Type: {{$questions['Question Type']}}
Dificulty Level: {{$questions['Difficulty Level']}}
|
{!! $questions['Questions'] !!}
|
|
{{$option_i}}.
@php
$setValue = strip_tags($questions['Options '.$option_i]);
$extension = pathinfo(parse_url($setValue, PHP_URL_PATH), PATHINFO_EXTENSION);
if($extension == 'mp3'){
$OptionName = 'Audio File';
}
elseif($extension == 'mp4'){
$OptionName = 'Video File';
}
else{
$OptionName = $questions['Options '.$option_i];
}
@endphp
@if(\Illuminate\Support\Str::startsWith($OptionName,'
')) {!! $OptionName !!} @else {!! $OptionName !!} @endif |
@php $option_i = $option_i+1; $loadi = $loadi+1; @endphp
@if($loadi % 2 == 0)
@if($questions['Question Type']=='Essay' || $questions['Question Type']=='Subjective')
@else
Candidate Answer
@if(!empty($questions['Candidate Answer']))
@if(is_array($questions['Candidate Answer']))
@foreach($questions['Candidate Answer'] as $correctAns)
@php
$candidateAns = \HireMeeHelper::getCandidateAnswerContent(trim($correctAns));
@endphp
{!! $candidateAns !!}
@endforeach
@else
@php
$candidateAns = \HireMeeHelper::getCandidateAnswerContent(trim($questions['Candidate Answer']));
@endphp
{!! trim($questions['Candidate Answer'])=='' ? 'No text typed' : $candidateAns !!}
@endif
@else
Not Answered
@endif
Candidate Answer
@if(!empty($questions['Candidate_Answer_Options']))
@php
if($questions['Question Type']=='MCQ')
{
$class = (isset($questions['Is_Correct_Answer']) && $questions['Is_Correct_Answer'] == true) ? "btncandidateanswer" : "btnwronganswer";
}
elseif($questions['Question Type']=='MCQ-weightages')
{
$class = "btncandidateanswer_essay";
}
else{
$class = "btncandidateanswer";
}
@endphp
@if(is_array($questions['Candidate_Answer_Options']))
@foreach($questions['Candidate_Answer_Options'] as $correctAns)
{!! $correctAns !!}
@endforeach
@else
{!! trim($questions['Candidate_Answer_Options'])=='' ? 'No option choosen' : $questions['Candidate_Answer_Options'] !!}
@endif
@else
Not Answered
@endif
@if(!empty($questions['Correct Answers']) && $questions['Question Type']!='MCQ-weightages')
@endif
Correct Answer
@if(is_array($questions['Correct Answers']))
@foreach($questions['Correct Answers'] as $correctAns)
{!!$correctAns!!}
@endforeach
@else
{!! $questions['Correct Answers'] !!}
@endif
@endif
Maximum Score: {{$questions['Maximum Marks']}}
Obtained Score: {{$questions['Obtained Score']}}
Time Spent: {{$questions['Time Spent by Candidate']}}