{{-- Manual Question Selection --}} @foreach ($data['sections'] as $section) @php $pool_list = App\Http\Controllers\Pro\MYOT\MYOTController::poolDropdownList($section->question_type, $is_psychometric); @endphp @if($section->is_manual == 1)
{!! Form::hidden('section_type',$section->is_manual,['id'=>'type-'.$section->id]) !!} {!! Form::hidden('section_id',$section->id,['id'=>'sectionid-'.$section->id]) !!} {!! Form::hidden('page',1,['id'=>'page-'.$section->id]) !!}
{!! Form::select('pool', $pool_list, '',['class'=>'hme-select-style js-question-pool select2','placeholder'=>'Select Question Pool','id'=>'pool-'.$section->id]) !!}
{!! Form::select('topic', [], '',['class'=>'hme-select-style js-question-topic select2','placeholder'=>'Select Question Topic','id'=>'topic-'.$section->id]) !!}
@if($section->question_type != 2)
{!! Form::select('difficulty', $data['difficulty_list'], '',['class'=>'hme-select-style js-question-difficulty','placeholder'=>'Select Difficulty Level','id'=>'difficulty-'.$section->id]) !!}
@endif

@php $selected_questions = App\Http\Controllers\Pro\MYOT\MYOTController::selectedQuestionRender($section->is_manual,$assess_id,$section->id); @endphp @if(!empty($selected_questions))

Selected Questions

@endif {!! $selected_questions !!}
@else {{-- Auto Question Selection --}}
{!! Form::hidden('section_type',$section->is_manual,['id'=>'type-'.$section->id]) !!} {!! Form::hidden('section_id',$section->id,['id'=>'sectionid-'.$section->id]) !!} {!! Form::hidden('page',1,['id'=>'page-'.$section->id]) !!}
{!! Form::select('pool', $pool_list, '',['class'=>'hme-select-style js-question-pool select2','placeholder'=>'Select Question Pool','id'=>'pool-'.$section->id]) !!}
{!! Form::select('topic', [], '',['class'=>'hme-select-style js-question-topic select2','placeholder'=>'Select Question Topic','id'=>'topic-'.$section->id]) !!}

@php $selected_questions = App\Http\Controllers\Pro\MYOT\MYOTController::selectedQuestionRender($section->is_manual,$assess_id,$section->id); @endphp @if(!empty($selected_questions))

Selected Matrix

@endif {!! $selected_questions !!}
@endif @endforeach