@php
$s3_chart_path = $assign_id.'_'.$test_pin.'_'.$candidate_id;
@endphp
|
|
|
{!! Form::open(array('url' =>secure_url('pro/rz-get-test-result-report'), 'class'=>'form-horizontal', 'method'=>'post')) !!}
@for ($i = 0; $i <= $chart_count; $i++)
{!! Form::hidden('image'.$i,'',array('id'=>'pro-image'.$i)) !!}
@endfor
{!! Form::hidden('summary_report_image','',array('id'=>'pro-summary-image')) !!}
{!! Form::hidden('essay_type_section_image','',array('id'=>'pro-essay-type-section-image')) !!}
{!! Form::hidden('pdf-download','1') !!}
{!! Form::hidden('chart_count',$chart_count) !!}
{!! Form::hidden('assign_id','',['id'=>'pre-js-pro-test-assign_id']) !!}
{!! Form::hidden('test_pin','',['id'=>'pre-js-pro-test-test_pin_id']) !!}
{!! Form::hidden('candidate_id','',['id'=>'pre-js-pro-test-candidate_id']) !!}
{!! Form::hidden('section_id','',['id'=>'pre-js-pro-test-section_id']) !!}
{!! Form::hidden('assessment_id','',['id'=>'pre-js-pro-test-assessment_id']) !!}
{!! Form::hidden('is_custom_form','',['id'=>'pre-js-pro-test-is_custom_form']) !!}
{!! Form::hidden('is_feedback','',['id'=>'pre-js-pro-test-is_feedback']) !!}
{!! Form::hidden('test_event_id','',['id'=>'pre-js-pro-test-test_event_id']) !!}
{!! Form::hidden('type','overall') !!}
{!! Form::hidden('corporate_id',$corporate_id) !!}
{!! Form::button('Download PDF',array('type'=>'submit','id'=>'download_pdf','class'=>'btn btn-primary pro-green c-white','disabled'=>true)) !!}
{!! Form::close()!!}
|
|
|
{{ $get_assessment_details->name ?? ''}}
|
| Candidate
Information
|
@php $proof_image = $getimage ? \HireMeeHelper::getAWSImageUrl($personal_report['prof_image']->s3_id,getenv('prodevbucket'),'hiremeeprodev') : secure_asset('assets/images/user.png'); @endphp
|
| Name : |
{{ $personal_report['personal_info']->first_name ?? '--'}} |
Test Date : |
{{ \Carbon\Carbon::parse($personal_report['assessment_takendate']->created_at)->formatLocalized('%d %b %Y') }} |
| Email : |
{{ $personal_report['personal_info']->email_id ?? "--"}} |
Test Status : |
{{ $personal_report['status']? $personal_report['status']->options : "--" }}
|
| Contact No : |
{{ $personal_report['personal_info']->contact_no ?? "Not Available"}} |
@php $id_proof_image = $get_assessment_id_proof_img ? \HireMeeHelper::getAWSImageUrl($get_assessment_id_proof_img->idproof_s3id,getenv('prodevbucket'),'hiremeeprodev') : secure_asset('assets/images/user.png'); @endphp
@if((isset($custom_setting) && $custom_setting->is_id_proof_required == 1) && !empty($is_id_proof))
| ID Card
|
|
@endif
@if($form_details)
| Custom Form
|
@php $form_details_chunk = array_chunk($form_details->toArray(),4); @endphp
@foreach($form_details_chunk as $form_data)
@php $form_data_chunk = array_chunk($form_data,2); @endphp
@foreach($form_data_chunk as $form)
@foreach($form as $value)
| {{$value['field_name']}}: |
{{$value['field_value']}} |
@if(count($form) == 1)
|
|
@endif
@endforeach
@endforeach
@endforeach
@endif
@php
$overall_percentage = 0;
if(!empty($summary_reports['overall_results']))
{
if($summary_reports['overall_results']['total_score']>0){
$overall_percentage = ($summary_reports['overall_results']['overall_score']/$summary_reports['overall_results']['total_score'])*100;
$overall_percentage = ($overall_percentage>0) ? $overall_percentage : 0;
}
}
/* $overall_percentage = $assess_overall_result->percentage ?? 0; */
@endphp
| Test Summary |
|
Overall score :
|
@if(!empty($summary_reports['overall_results']))
{{number_format($summary_reports['overall_results']['overall_score'],2)}} / {{number_format($summary_reports['overall_results']['total_score'],2)}}
|
@endif
| Section Name |
Score |
Max. Score |
@forelse($summary_reports['section_results'] as $summary_report)
@php $sectionQuestionType [] = $summary_report->sections->question_type; @endphp
@if(isset($custom_setting) && $custom_setting->is_accept_best_mcq==1 && $summary_report->sections->question_type==1)
@php
$mcq_scores= App\Http\Controllers\Candidate\RoundZero\CandidateController::checkBestMCQOverall($test_pin_data,$summary_report->sections->id,$assign_id_data);
@endphp
| {{ $summary_report->sections ? $summary_report->sections->name : "--" }} |
{!! isset($mcq_scores['overall_score']) ? number_format($mcq_scores['overall_score'],2) : 0.00 !!} |
{!! isset($mcq_scores['total_score']) ? number_format($mcq_scores['total_score'],2) : 0.00 !!} |
@elseif(isset($custom_setting) && $custom_setting->is_accept_best==1 && $summary_report->sections->question_type==3)
@php
$subjective_scores= App\Http\Controllers\Candidate\RoundZero\CandidateController::checkBestSubjectiveOverall($test_pin_data,$summary_report->sections->id,$assign_id_data,$summary_report);
@endphp
| {{$summary_report->sections ? $summary_report->sections->name : "--"}} |
{!! isset($subjective_scores['overall_score']) ? number_format($subjective_scores['overall_score'],2) : 0.00 !!} |
{!! isset($subjective_scores['total_score']) ? $subjective_scores['total_score'] : 0.00 !!} |
@elseif($summary_report->sections->question_type=="5")
@php
$get_section_score = App\Http\Controllers\Candidate\RoundZero\CandidateController::getEssyTypeOverallScores($test_pin_data,$summary_report->sections->id);
@endphp
| {{ $summary_report->sections ? $summary_report->sections->name : "--"}} |
{{ $get_section_score['obtained_score'] ? number_format($get_section_score['obtained_score'],2) : 0.00 }} |
{{ $get_section_score['full_score'] ? number_format($get_section_score['full_score'],2) : 0.00 }} |
@else
| {{$summary_report->sections ? $summary_report->sections->name : "--"}} |
{{ number_format($summary_report->overall_score,2) }} |
{{number_format($summary_report->total_score,2) }} |
@endif
@empty
@if((count($custom_topic_result) == 0 && count($section_result) ==0))
| No records found |
@endif
@endforelse
@if(count($custom_topic_result) > 0)
@foreach($custom_topic_result as $value2)
@php $sectionQuestionType [] = $value2->getSections->question_type; @endphp
| {!! $value2->getSections ? $value2->getSections->name : "" !!} |
{!! $value2->overall_score!!} |
{!! $value2->total_score!!} |
@endforeach
@endif
|
{{ round($overall_percentage,1) }}%
Overall Percentage
|
@if(isset($sectionQuestionType) && in_array("5", $sectionQuestionType))
| Essay-type
Questions
|
| Lexical |
Task |
Grammar |
Cohesion |
Score |
@php
$get_essay_scores = App\Http\Controllers\Candidate\RoundZero\CandidateController::getEssyTypeIndividualScores($test_pin_data);
@endphp
@if(count($get_essay_scores)>0)
@foreach($get_essay_scores as $esy_score)
| Band: {{ number_format($esy_score->lexical,2) }} |
Band: {{ number_format($esy_score->task,2) }} |
Band: {{ number_format($esy_score->grammar,2) }} |
Band: {{ number_format($esy_score->cohesion,2) }} |
{{ number_format($esy_score->total,2) }} / {{ number_format($esy_score->score,2) }} |
@endforeach
@else
| Band: 0.00 |
Band: 0.00 |
Band: 0.00 |
Band: 0.00 |
0.00 |
@endif
|
@endif
| Section-wise Report
|
| Section Name |
Section Type |
Total
Questions |
Total
Attempted |
Total
Correct |
Total
Incorrect |
Total
Unattempted |
@forelse($get_assessment_section_details as $details)
@php
$tot_crt_ans=!empty($details->tot_crt_ans)?$details->tot_crt_ans:0.00;
$tot_incrt_ans=!empty($details->tot_incrt_ans)?$details->tot_incrt_ans:0.00;
$total_ques = !empty($details->total_ques)?$details->total_ques:0.00;
$tot_atmpt = !empty($details->tot_atmpt)?$details->tot_atmpt:0.00;
$tot_unatmpt = !empty($details->tot_unatmpt)?$details->tot_unatmpt:0.00;
@endphp
@if($details->sections->question_type == 3 || $details->sections->question_type == 4 || $details->sections->question_type == 5 || $details->sections->question_type == 6|| $details->sections->question_type == 7)
@php
$tot_crt_ans = 'NA';
$tot_incrt_ans = 'NA';
@endphp
@endif
| {{ucfirst($details->sections->name) ?? ''}} |
{{ucfirst($details->sections->questionTypeDetails->name) ?? ''}} |
{{$total_ques ?? ''}} |
{{$tot_atmpt ?? ''}} |
{{$tot_crt_ans ?? ''}} |
{{$tot_incrt_ans ?? ''}} |
{{$tot_unatmpt ?? ''}} |
@empty
| No Records Found |
@endforelse
|
@forelse($summary_reports['section_results'] as $key=> $summary_report)
@php $section_overall_percentage = 0; $color_codes = ['#28dddd','#FFF7CB','#9DCAF7','#B7D17B','#DDBA28','#727777']; @endphp
@if(isset($custom_setting) && $custom_setting->is_accept_best_mcq==1 && $summary_report->sections->question_type==1) {{-- @version 21.0 @abstract Accept Best MCQ --}}
@php
$mcq_scores= App\Http\Controllers\Candidate\RoundZero\CandidateController::checkBestMCQOverall($test_pin_data,$summary_report->sections->id,$assign_id_data);
if(isset($mcq_scores['total_score']) && $mcq_scores['total_score']>0){
$section_overall_percentage = (($mcq_scores['overall_score']/$mcq_scores['total_score'])*100);
}
if($section_overall_percentage < 0){
$section_overall_percentage = 0;
}
@endphp
| {{ $summary_report->sections ? ucfirst($summary_report->sections->name) : "--"}} |
{{ number_format($mcq_scores['overall_score'],2) }} / {{ number_format($mcq_scores['total_score'],2) }} |
@php $zero_percent_align = ($section_overall_percentage <=0)? 'left:30px;' : ''; @endphp
|
@elseif(isset($custom_setting) && $custom_setting->is_accept_best==1 && $summary_report->sections->question_type==3)
@php
$subjective_scores= App\Http\Controllers\Candidate\RoundZero\CandidateController::checkBestSubjectiveOverall($test_pin_data,$summary_report->sections->id,$assign_id_data,$summary_report);
if(isset($subjective_scores['total_score']) && $subjective_scores['total_score']>0){
$section_overall_percentage = (($subjective_scores['overall_score']/$subjective_scores['total_score'])*100);
}
$zero_percent_align = ($section_overall_percentage <=0)? 'left:30px;' : '';
@endphp
| {{ $summary_report->sections ? $summary_report->sections->name : "--"}} |
{{ number_format($subjective_scores['overall_score'],2) }} / {{ number_format($subjective_scores['total_score'],2) }} |
|
@elseif($summary_report->sections->question_type=="5")
@php
$get_section_score = App\Http\Controllers\Candidate\RoundZero\CandidateController::getEssyTypeOverallScores($test_pin_data,$summary_report->sections->id);
$esection_overall_percentage = 0;
if(!empty($get_section_score['full_score']) && $get_section_score['full_score']>0){
$esection_overall_percentage = (($get_section_score['obtained_score']/$get_section_score['full_score'])*100);
}
$zero_percent_align = ($esection_overall_percentage <=0)? 'left:30px;' : '';
@endphp
| {{ $summary_report->sections ? $summary_report->sections->name : "--"}} |
{{ $get_section_score['obtained_score'] ? $get_section_score['obtained_score'] : 0 }} / {{ $get_section_score['full_score'] ? $get_section_score['full_score'] : 0 }} |
|
@else
@php
if(!empty($summary_report->total_score) && $summary_report->total_score>0){
$section_overall_percentage = (($summary_report->overall_score/$summary_report->total_score)*100);
}
if($section_overall_percentage < 0){
$section_overall_percentage = 0;
}
$zero_percent_align = ($section_overall_percentage <=0)? 'left:30px;' : '';
@endphp
| {{ $summary_report->sections ? $summary_report->sections->name : "--"}} |
{{ number_format($summary_report->overall_score,2) }} / {{ number_format($summary_report->total_score,2) }} |
|
@endif
@empty
@if((count($summary_reports['custom_topic_result']) == 0 && count($summary_reports['section_results']) ==0))
| No Records Found |
@endif
@endforelse
@if(count($custom_topic_result) > 0)
@foreach($custom_topic_result as $value2)
@php
$color_codes = ['#28dddd','#FFF7CB','#9DCAF7','#B7D17B','#DDBA28','#727777'];
if(!empty($value2->total_score) && $value2->total_score>0){
$custom_topic_overall_percentage = (($value2->overall_score/$value2->total_score)*100);
}
$zero_percent_align = ($custom_topic_overall_percentage <=0)? 'left:30px;' : '';
@endphp
| {{ $value2->sections ? $value2->sections->name : "--"}} |
{{ number_format($value2->overall_score,2) }} / {{ number_format($value2->total_score,2) }} |
|
@endforeach
@endif
|
|
0
20
40
60
80
100
|
|
Percentage (%)
|
| Sub-section Report
|
@forelse($summary_reports['section_results'] as $key1 => $summary_report)
@php
$section_color_codes = ['#28dddd','#FFF7CB','#9DCAF7','#B7D17B','#DDBA28','#727777'];
$section_score_datas = App\Http\Controllers\Candidate\RoundZero\CandidateController::getPDFSectionReport($assign_id_data,$summary_report->sections->id,$test_pin_data);
@endphp
@if(is_array($section_score_datas) && count($section_score_datas)>0)
| {{$summary_report->sections->name}} |
@foreach($section_score_datas as $key=>$sectionvalue)
@if(!isset($sectionvalue['type']))
@php
$zero_percent_align = ($sectionvalue['score'] <=0)? 'left:30px;' : '';
@endphp
| {{ ucfirst($sectionvalue['topic']) }} |
{{ $sectionvalue['cat'] }} |
|
@endif
@endforeach
|
|
0
20
40
60
80
100
|
|
Percentage (%)
|
@endif
@empty
@endforelse
@if(count($summary_reports['custom_topic_result']) > 0)
@forelse($summary_reports['custom_topic_result'] as $custom_topic_val)
@php
$custom_color_codes = ['#28dddd','#FFF7CB','#9DCAF7','#B7D17B','#DDBA28','#727777'];
$custum_score_datas = App\Http\Controllers\Candidate\RoundZero\CandidateController::getPDFSectionReport($assign_id_data,$custom_topic_val->section_id,$custom_topic_val->testpin);
@endphp
@if(is_array($custum_score_datas) && count($custum_score_datas)>0)
| {{$custom_topic_val->sections->name}} |
@foreach($custum_score_datas as $key=>$customvalue)
@if(!isset($customvalue['type']))
@php
$zero_percent_align = ($customvalue['score'] <=0)? 'left:30px;' : '';
@endphp
| {{ $customvalue['topic'] }} |
{{ $customvalue['cat'] }} |
|
@endif
@endforeach
|
|
0
20
40
60
80
100
|
|
Percentage (%)
|
@endif
@empty
@endforelse
@endif
|
{{--@if(count($log_details) > 0) --}}
@if(isset($sectionQuestionType) && in_array("4", $sectionQuestionType))
| Coding Report
|
{!!$coding_simulation_reports!!}
@endif
{{--@if(!empty($procotored_images_detls))
| Proctoring Report Screen Capture Preview |
{!!$procotored_images_detls!!}
@endif--}}
| Proctoring Report
|
|
Test log
|
@forelse($proctoring_report as $proct_data)
| {{ $proct_data ? \Carbon\Carbon::parse($proct_data->created_at)->format('d M Y - h:i:s A') : ""}} |
{{ $proct_data->event_name }} |
@empty
@endforelse
|
@if((!is_null($images)) && (count($images) > 0))
{!!$procotored_images_detls!!}
@endif
@if((!is_null($screenCapturedImages_details)) && (count($screenCapturedImages_details) > 0))
{!!$screenCapturedImages!!}
@endif
@if((isset($custom_setting) && $custom_setting->is_creditability_level == 1))
| Honesty Level
|
|
Honesty Score :
{{ $creditablity_score ?? 0}}
|
| Face Not Visible |
Person Not Present |
Mobile Phone
Detected |
Another Person
Present |
Away From
Test Window |
Person Looking Away from Screen |
Face Partially Visible |
| {{$honesty_level_count["face_not_visible"]}} |
{{$honesty_level_count["face_not_present"]}} |
{{$honesty_level_count["mobile_phone_detected"]}} |
{{$honesty_level_count["another_there_person"]}} |
{{$honesty_level_count["another_from_test_window"]}} |
{{$honesty_level_count["candidate_away_screen"]}} |
{{$honesty_level_count["partially_face_visible"]}} |
| Total |
{{$honesty_level_count['toltal_voilation_count']}} |
| Range |
Level of Honesty |
| 0 - 87 |
Low |
| 88 - 95 |
Medium |
| 96 - 100 |
High |
@endif
@if($feedback_details)
| Feedback Questions Details
|
|
@php $i=1;@endphp
@forelse($feedback_details as $form)
|
{{$i++}}.
{{$form->question ? $form->question : "--"}}
Answer:
{{$form->answer ? $form->answer : "--"}}
|
@empty
| No Records Found |
@endforelse
@endif