@extends('layouts.main') @section('title','MYOT - Global Settings & Preview') @section('content')
{!! Form::open(['url'=>'pro/myot-assessment-setting/save','method'=>'POST','id'=>'js-pro-myot-ass-settings-form-5','autocomplete'=>'off','class'=>'pl-3 pr-3 pro-form']) !!} {!! Form::hidden('step',5) !!} {!! Form::hidden('id',$id) !!} {!! Form::hidden('maximum_duration',$maximum_duration,array('id'=>'js-pro_limited_duration')) !!} {{-- @version 21.0 @author Dilip @abstract Assessment Timing Restriction --}}

GLOBAL SETTINGS

No. of Questions to be Displayed @if(last(request()->segments()) != 'preview=true') *@endif :
Section Navigation:
@if(last(request()->segments()) != 'preview=true') is_section_navigation) checked="checked" @endif> @endif
Score Display:
@if(last(request()->segments()) != 'preview=true') is_score_display) checked="checked" @endif> @endif
End Test Button :
@if(last(request()->segments()) != 'preview=true') is_endtest) checked="checked" @endif> @endif
Previous Button :
@if(last(request()->segments()) != 'preview=true') is_previous) checked="checked" @endif> @endif
Question Pallete :
@if(last(request()->segments()) != 'preview=true') is_question_pallete) checked="checked" @endif> @endif
Is Mask Candidate Details :
@if(last(request()->segments()) != 'preview=true') mask_candidate_check) checked="checked" @endif> @endif
Timer :
@if(last(request()->segments()) != 'preview=true') is_timer_display) checked="checked" @endif> @endif
@if(($row ? ($row->duration_type == 2) : ""))

SECTION DURATION

{!! Form::hidden("is_section_available",true,['class'=>'form-control']) !!} @forelse($row->sectionDetails as $sec_duration) @php if($sec_duration->question_type != 7 ){ $duration = $sec_duration ? $sec_duration->section_duration :""; if($duration){ $hours = floor($duration/60); $minutes = $duration - ($hours*60); if ($hours < 10) { $hours = '0'.$hours; } if ($minutes < 10) { $minutes = '0'.$minutes; } $sec_dur = $hours .':'. $minutes; } else { $sec_dur = ""; } } else { $sec_dur = '00:05'; } @endphp
{{-- @version 21.0 @author Dilip @abstract Assessment Timing Restriction - added "section_times" class name --}} @if(last(request()->segments()) != 'preview=true') {!! Form::hidden("section_id[]",$sec_duration ? $sec_duration->id :"",['class'=>'form-control']) !!} @if($sec_duration->question_type != 7) {!! Form::text("section_duration_time[]",$sec_dur,['class'=>'form-control js-time-to section_times','placeholder'=>'e.g 10:00 AM','id'=>'js-pro-section_duration_time']) !!} @else {!! Form::text("section_duration_times[]",$sec_dur,['class'=>'form-control js-time-to','placeholder'=>'e.g 10:00 AM','id'=>'js-pro-section_duration_time','disabled'=>"true"]) !!} {!! Form::hidden("section_duration_time[]",$sec_dur,['class'=>'form-control js-time-to section_times','placeholder'=>'e.g 10:00 AM','id'=>'js-pro-section_duration_time']) !!} @endif @else {!! Form::text("section_duration_time[]",$sec_dur,['class'=>'form-control js-time-to','placeholder'=>'e.g 10:00 AM','id'=>'js-pro-section_duration_time','disabled'=>'disabled']) !!} @endif
@empty @endforelse @else

EXAM DURATION

@php $duration = $row ? $row->exam_duration :""; if($duration){ $hours = floor($duration/60); $minutes = $duration - ($hours*60); if ($hours < 10) { $hours = '0'.$hours; } if ($minutes < 10) { $minutes = '0'.$minutes; } $sec_dur = $hours .':'. $minutes; } else { $sec_dur = ""; } @endphp
{!! Form::text("time[]",$sec_dur,['class'=>'form-control js-time-to','placeholder'=>'e.g 10:00 AM','disabled'=>'disabled']) !!}
@endif

SECTION DETAILS

@foreach($section_details as $section_value) @endforeach
@if($row->is_custom_form)

CUSTOM FORM DETAILS

@foreach($row->customFormDetails as $custom_form_detail) @endforeach
@endif @if($row->is_feedback)

CUSTOM FEEDBACK DETAILS

@foreach($row->feedbackFormDetails as $feedback_detail) @endforeach
@endif

ASSESSMENT DETAILS

Assessment Name :
Assessment Mode :
Negative Mark :
Redirect URL :
@if(!empty($row->test_logo)) @php $image = $row->test_logo ? \HireMeeHelper::getAWSImageUrl($row->test_logo,config('filesystems.disks.hiremeeprodev.bucket'),'hiremeeprodev') : secure_asset('assets/images/user.png'); @endphp @else @php $image = secure_asset('assets/images/user.png'); @endphp @endif

MATRIX DETAILS

@if($row && $ques_selection) @php $loop_count=0; $array_length = 0; $serial_no = 1; @endphp @php $man_section = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionSection($id); @endphp @foreach($man_section as $value) @php $loop_iteration = $loop->iteration-1; @endphp {!! Form::hidden('count',$loop->iteration,["class"=>'js-pro-man_section_count']) !!} {!! Form::hidden("section_$value->section_id",$value->section_id) !!} @php $difficulty_lvl = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionDiffLevel($id,$value->section_id,$value->pool_id,$value->topic_id); $matrix = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionDiffLevel($id,$value->section_id,$value->pool_id,$value->topic_id); $difficulty_level = $difficulty_lvl->difficulty_level_id; $loopcount = $loop_count + $array_length; $loop_count = $loop->iteration; $total_basic = $value ? $value->questionCount($id,$value->section_id,$value->pool_id,$value->topic_id,1) : ""; $total_medium = $value ? $value->questionCount($id,$value->section_id,$value->pool_id,$value->topic_id,2) : ""; $total_advance = $value ? $value->questionCount($id,$value->section_id,$value->pool_id,$value->topic_id,3) : ""; $easy_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$value->section_id,$value->pool_id,($value->topic_id ? $value->topic_id : 0),1,($matrix ? (!is_null($matrix->question_matrix_id) ? $matrix->question_matrix_id : 0) : 0)); $medium_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$value->section_id,$value->pool_id,($value->topic_id ? $value->topic_id : 0),2,($matrix ? (!is_null($matrix->question_matrix_id) ? $matrix->question_matrix_id : 0) : 0)); $hard_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$value->section_id,$value->pool_id,($value->topic_id ? $value->topic_id : 0),3,($matrix ? (!is_null($matrix->question_matrix_id) ? $matrix->question_matrix_id : 0) : 0)); $data = $id.'_'.$value->section_id.'_'.$value->pool_id.'_'.($value->topic_id ? $value->topic_id : 0).'_'.($matrix ? (!is_null($matrix->question_matrix_id) ? $matrix->question_matrix_id : 0) : 0).'_'.$difficulty_level; $section_detail = $value->sectionDetail; $psy_auto_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$value->section_id,$value->pool_id,$value->topic_id,NULL); $total__psy_auto_advance = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionAutoCount($value->pool_id,$value->topic_id,NULL); $total_psy_manual = $value ? $value->questionCount($id,$value->section_id,$value->pool_id,$value->topic_id,NULL) : ""; @endphp
{{$serial_no++}}
poolDetail ? $value->poolDetail->name : ""}} - {{$value->manualToTopicDetail ? $value->manualToTopicDetail->name : "No Topic"}} - {{$value->sectionDetail ? ($value->sectionDetail->questionTypeDetails ? $value->sectionDetail->questionTypeDetails->name : "") : ""}}"> {{$value ? $value->sectionDetail->name : ""}} - {{$value->poolDetail ? $value->poolDetail->name : ""}} - {{$value->manualToTopicDetail ? $value->manualToTopicDetail->name : "No Topic"}} - {{$value->sectionDetail ? ($value->sectionDetail->questionTypeDetails ? $value->sectionDetail->questionTypeDetails->name : "") : ""}}
@if($section_detail->question_type != 2)
{{$total_basic}}
{{$total_medium}}
{{$total_advance}}
@else
{{$total_psy_manual}}
@endif
@endforeach @php $auto_section = App\Http\Controllers\Pro\MYOT\MYOTController::getAutoQuestionSection($id); @endphp @forelse($auto_section as $autosection) @php $loopcount = $loop_count + $loop->iteration; $loop_count = $loopcount; $difficulty_lvl1 = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionDiffLevel($id,$autosection->section_id,$autosection->pool_id,$autosection->topic_id); $difficulty_level1 = $difficulty_lvl1 ? $difficulty_lvl1->difficulty_level_id : 0; $easy_auto_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$autosection->section_id,$autosection->pool_id,$autosection->topic_id,1); $medium_auto_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$autosection->section_id,$autosection->pool_id,$autosection->topic_id,2); $hard_auto_dat = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$autosection->section_id,$autosection->pool_id,$autosection->topic_id,3); $psy_auto_dat1 = App\Http\Controllers\Pro\MYOT\MYOTController::getData($id,$autosection->section_id,$autosection->pool_id,$autosection->topic_id,NULL); $total__auto_basic = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionAutoCount($autosection->pool_id,$autosection->topic_id,1); $total__auto_medium = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionAutoCount($autosection->pool_id,$autosection->topic_id,2); $total__auto_advance = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionAutoCount($autosection->pool_id,$autosection->topic_id,3); $section_details = $autosection->sectionDetail; $q_type = $section_details ? $section_details->question_type : ""; $total__psy_auto_advance1 = App\Http\Controllers\Pro\MYOT\MYOTController::getquestionAutoCount($autosection->pool_id,$autosection->topic_id,NULL,'psycho'); @endphp
{{$serial_no++}}
poolDetail ? $autosection->poolDetail->name : ""}} - {{$autosection->topicDetail ? $autosection->topicDetail->name : "No Topic"}} - {{$autosection->sectionDetail ? ($autosection->sectionDetail->questionTypeDetails ? $autosection->sectionDetail->questionTypeDetails->name : "") : ""}} "> {{$autosection->sectionDetail ? $autosection->sectionDetail->name : ""}} - {{$autosection->poolDetail ? $autosection->poolDetail->name : ""}} - {{$autosection->topicDetail ? $autosection->topicDetail->name : "No Topic"}} - {{$autosection->sectionDetail ? ($autosection->sectionDetail->questionTypeDetails ? $autosection->sectionDetail->questionTypeDetails->name : "") : ""}}
@if($q_type != 2)
{{$total__auto_basic['tot']}}
{{$total__auto_medium['tot']}}
{{$total__auto_advance['tot']}}
@else
{{$total__psy_auto_advance1['tot']}}
@endif
@empty @endforelse @endif
@if(!is_null($customized_corporate))

Thank You Content

Instructions

  1. Create template with keywords mentioned in Example below for Assessment thank you page.
  2. All keywords are mandatory.

Dear {Student Name},
Thank you for your time! We know that you have given your best shot, relax yourself for few days, as our HR Team will get back to you on your shortlisting.
We have complied the scores for you. Please note that these scores are indicative and in any manner does not depict the final score of an individual for the shortlisting.
We wish you all the best for future endeavors!

{SCORES}


If you have enjoyed the test or feels that there is scope of improvement, share your feedback with us by clicking on the {TAB}


Cheers,
HR Team
{{ $corporate_info->company->company_name }}

@php $default_content = '

Dear {Student Name},
Thank you for your time! We know that you have given your best shot, relax yourself for few days, as our HR Team will get back to you on your shortlisting.
We have complied the scores for you. Please note that these scores are indicative and in any manner does not depict the final score of an individual for the shortlisting.
We wish you all the best for future endeavors!

{SCORES}


If you have enjoyed the test or feels that there is scope of improvement, share your feedback with us by clicking on the {TAB}


Cheers,
HR Team
'.$corporate_info->company->company_name.'

'; @endphp
{!! Form::textarea('tnkcontent',(!empty($row->customized_thankyou)) ? $row->customized_thankyou : $default_content,['class'=>'thankyou_content','id'=>'thankyou_content']) !!}
@endif
@if(last(request()->segments()) != 'preview=true') @if($row->section_freeze == 1) Previous @else Previous @endif @else Back @endif
{!! Form::close() !!}
@endsection