@php //dd($data); if(isset($data)){ $beliefs_and_values_header = \App\Http\Controllers\Pro\CareerReadinessController::getRatingScaleReport($data['assessment_details'][0]->assign_id,$data['assessment_details'][0]->testpin); $personality_traits_header = \App\Http\Controllers\Pro\CareerReadinessController::getRatingScaleReport($data['assessment_details'][0]->assign_id,$data['assessment_details'][0]->testpin); $competency_array = []; $behavior_array = []; $behavior_competency_array = []; foreach($personality_traits_header['personality_traits'] as $personality_traits){ $behavior_array[$personality_traits->behaviour_id] = $personality_traits->name; $behavior_competency_array[$personality_traits->behaviour_id][$personality_traits->competency_id] = $personality_traits->competency_name; $competency_array[$personality_traits->competency_id] = $personality_traits->competency_name; } $skills = \App\Http\Controllers\Pro\CareerReadinessController::getSkillsReport($data['section_details']->section_id,$data['assessment_details'][0]->testpin); $aptitude_array = []; foreach($skills['pool'] as $each_skill){ $aptitude_array[$each_skill->qms_pool_id] = str_replace('_CRA','',$each_skill->pool_name); } } @endphp @foreach( $behavior_array as $behavior_id=>$behavior_name) @endforeach @if($data['personality_strength_count']) @endif @if($data['personality_development_count']) @endif @foreach( $personality_traits_header['personality_traits'] as $personality_header) @endforeach @foreach($skills['pool'] as $skill) @endforeach @if($data['aptitude_strength_count']) @endif @if($data['aptitude_development_count']) @endif @foreach($beliefs_and_values_header['beliefs_and_values'] as $beliefs_header) @endforeach @php $i=1; @endphp @foreach ($data['assessment_details'] as $candidate_value) @if($candidate_value->department) @else @endif @php $job_placement=json_decode($candidate_value['job_placement'],true); $industries=json_decode($candidate_value['industries'],true); $higher_studies_inclination=json_decode($candidate_value['higher_studies_inclination'],true); $summary_personality_traits=json_decode($candidate_value['summary_personality_traits'],true); $summary_aptitude=json_decode($candidate_value['summary_aptitude'],true); $belief_and_value=json_decode($candidate_value['beliefs_and_values'],true); $aptitude=json_decode($candidate_value['aptitude'],true); $aptitude_areas_of_strength=json_decode($candidate_value['aptitude_areas_of_strength'],true); $aptitude_areas_of_development=json_decode($candidate_value['aptitude_areas_of_development'],true); $personality_traits=json_decode($candidate_value['personality_traits'],true); $personality_traits_areas_of_strength=json_decode($candidate_value['personality_traits_areas_of_strength'],true); $personality_traits_areas_of_development=json_decode($candidate_value['personality_traits_areas_of_development'],true); @endphp @php $placementCount = 0; @endphp @if(!empty($job_placement)) @foreach ($job_placement as $value) @php $placementCount++; @endphp @endforeach @endif @for($k=$placementCount;$k< 3;$k++) @endfor @php $industryCount = 0; @endphp @if(!empty($industries)) @foreach ($industries as $value) @php $industryCount++; @endphp @endforeach @endif @for($k=$industryCount;$k< 3;$k++) @endfor @if(!empty($higher_studies_inclination)) @foreach ($higher_studies_inclination as $value) @endforeach @else @for($k=0;$k< 1;$k++) @endfor @endif @php $inc=0;@endphp @foreach($summary_personality_traits as $value) @php $inc++; @endphp @endforeach @for($k=$inc;$k< 3;$k++) @endfor @php $summary_aptitude_inc=0;@endphp @foreach($summary_aptitude as $value) @php $summary_aptitude_inc++; @endphp @endforeach @for($k=$summary_aptitude_inc;$k< 3;$k++) @endfor @foreach($personality_traits_header['personality_traits'] as $personality_header) @endforeach @php $personality_strength_inc=0; @endphp @foreach($personality_traits_areas_of_strength as $value) @php $personality_strength_inc++; @endphp @endforeach @for($k=$personality_strength_inc;$k< $data['personality_strength_count'];$k++) @endfor @php $development_inc=0;@endphp @foreach($personality_traits_areas_of_development as $value) @php $development_inc++; @endphp @endforeach @for($k=$development_inc;$k< $data['personality_development_count'];$k++) @endfor @foreach($skills['pool'] as $skill) @endforeach @php $aptitude_strength_inc=0;@endphp @foreach($aptitude_areas_of_strength as $value) @php $aptitude_strength_inc++; @endphp @endforeach @for($k=$aptitude_strength_inc;$k< $data['aptitude_strength_count'];$k++) @endfor @php $aptitude_development_inc=0; @endphp @foreach($aptitude_areas_of_development as $value) @php $aptitude_development_inc++; @endphp @endforeach @for($k=$aptitude_development_inc;$k< $data['aptitude_development_count'];$k++) @endfor @foreach( $beliefs_and_values_header['beliefs_and_values'] as $value_header) @endforeach @endforeach
Name Department Testpin Summary Personality Traits Aptitude Beliefs And Values
Suggested Career Options Personality Traits Aptitude{{$behavior_name}} Areas Of Strength Areas Of Development
Job Placement Recommendation Recommended Industries Inclination For Higher Studies{{$personality_header->competency_name}}{{str_replace('_CRA','',$skill->pool_name)}} Areas Of Strength Areas Of Development{{$beliefs_header->name}}
{{$candidate_value->candidate_name}}{{$candidate_value->department}}--{{$candidate_value->testpin}} @if(isset($data['adjective_details'][$value])) {{$data['adjective_details'][$value]}} @else -- @endif -- @if(isset($data['adjective_details'][$value])) {{$data['adjective_details'][$value]}} @else -- @endif -- @if(isset($data['adjective_details'][$value])) {{$data['adjective_details'][$value]}} @else -- @endif -- {{$competency_array[$value]}}-- {{$aptitude_array[$value]}}-- {{$personality_traits[$personality_header->behaviour_id][$personality_header->competency_id] ?? '--' }} {{$competency_array[$value]}}-- {{$competency_array[$value]}}-- @if(isset($aptitude[$skill->qms_pool_id])) {{ round($aptitude[$skill->qms_pool_id], 1)}} @else -- @endif {{str_replace('_CRA','',$aptitude_array[$value])}}-- {{str_replace('_CRA','',$aptitude_array[$value])}}-- @if(isset($belief_and_value[$value_header->id])) {{$belief_and_value[$value_header->id]}} @else -- @endif