@extends('layouts.main') @section('title','My Assessments - Create Assessment') @section('content')

Create Assessments

{{-- @version 21.0 @author Dilip @exception Issuse - Error message display --}} @if (\Session::has('error'))
Error! {!! \Session::get('error') !!}
@endif
{!! Form::open(['url'=>'pro/myot-assessment-setting/save','method'=>'POST','id'=>'js-pro-myot-ass-settings-form','autocomplete'=>'off','files' => 'true','enctype'=>'multipart/form-data']) !!} {!! Form::hidden('step',1) !!} {!! Form::hidden('id',$id,array('id'=>'assessment_id')) !!} {!! Form::hidden("is_completed_status",$row ? $row->is_completed : "",['id'=>'js-pro-is_completed_status']) !!} {!! Form::hidden("is_custom_corprate",$customized_corporate,['id'=>'js-pro-is_is_custom_corprate']) !!} @if(!empty($row)) {!! Form::hidden("is_entity_custom",$row->custom_form_choice,['id'=>'js-pro-is_entity_custom']) !!} @else {!! Form::hidden("is_entity_custom",null,['id'=>'js-pro-is_entity_custom']) !!} @endif {!! Form::hidden('maximum_duration',$maximum_duration,array('id'=>'js-pro_limited_duration')) !!} {{-- @version 21.0 @author Dilip @abstract Assessment Timing Restriction --}}
Assessment Name * :
{!! Form::text("assessment_name",$row ? $row->name : "",['class'=>'form-control','placeholder'=>'Assessment Name','id'=>'js-pro-assessment_name']) !!}
Assessment Mode * :
@foreach($mode as $key => $type) @if(!empty($row)) @php if($row->mode == $key+1) { $status = true; } elseif($row->mode == 3){ $status = true; } else { $status = false; } @endphp @if($row->sectionDetails) @php $section_status = false; @endphp @foreach($row->sectionDetails as $section_detail) @php if($section_detail->question_type == 7 || $section_detail->question_type == 4){ $section_status = true; } @endphp @endforeach @endif @else @php if($type->id == 1) { $status = true; } else { $status = false; } @endphp @endif
@endforeach
Assessment Duration* :
@foreach($duration_type_enumeration as $value) @if(!empty($row)) @php if($row->duration_type == $value->id){ $status = true; } else { $status = false; } @endphp @if($row->sectionDetails) @php $section_status = false; @endphp @foreach($row->sectionDetails as $section_detail) @php if($section_detail->question_type == 7){ $section_status = !$section_status ? true : false ; } @endphp @endforeach @endif @else @php $status = false; @endphp @endif
@endforeach
@if(!empty($row)) @php $hour = floor($row->exam_duration/60); $minutes = $row->exam_duration - ($hour*60); if($hour < 10){ $hour = '0'.$hour; } if($minutes < 10) { $minutes = '0'.$minutes;} $total = $hour.':'.$minutes; @endphp @else @php $total = ""; @endphp @endif
{!! Form::text("test_duration_time",$total,['class'=>'form-control js-time-to','placeholder'=>'e.g 10:00 AM','id'=>'js-pro-test_duration_time']) !!}
Negative Marking :
@if(!empty($row)) @php if($row->is_negative_mark){ $stat = true; $label = "YES"; $value= 'on'; } else { $stat = false; $label = "NO"; $value= 'off'; } @endphp @else @php $stat = false; $label = "NO"; $value= 'off'; @endphp @endif
{{ Form::checkbox('is_negative',$value,$stat, array('class'=>'hme-pro-switch-label','id'=>'js-pro-is_negative_switch')) }}
Pre Data Collection :
@if(!empty($row)) @php if($row->is_pre_data_collection){ $stat = true; $label = "YES"; $value= 'on'; } else { $stat = false; $label = "NO"; $value= 'off'; } @endphp @else @php $stat = false; $label = "NO"; $value= 'off'; @endphp @endif
{{ Form::checkbox('is_pre_data_collection',$value,$stat, array('class'=>'hme-pro-switch-label','id'=>'js-pro-is_pre_data_collection')) }}
Test LOGO :
@php if(!empty($row->test_logo)){ $placeholder = $row->test_logo; } else { $placeholder = "No files selected"; } @endphp
@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 {!! Form::hidden('test_s3id',$row->test_logo)!!} @else @php $image = ""; @endphp @endif
Instructions *:
{!! Form::textarea('instructions',$row ? $row->exam_instruction : "",['class'=>'js-pro-ass-instructions','id'=>'js-pro-ass-instructions']) !!}
Redirect URL :
{!! Form::text("redirect_url",$row ? $row->redirect_url : "",['class'=>'form-control','placeholder'=>'http://www.hiremee.co.in','id'=>'js-pro-redirect_url']) !!}
Syllabus :
{!! Form::textarea('syllabus',$row ? $row->syllabus : "",['class'=>'js-pro-ass-syllabus','id'=>'js-pro-ass-syllabus']) !!}
    Cancel
@php $is_feedbackexist = false; @endphp @if(!empty($row)) @if($row->is_feedback) @php $is_feedbackexist = true; @endphp @else @php $is_feedbackexist = false; @endphp @endif @else @php $is_feedbackexist = false; @endphp @endif
Enable Feedback Form :
@if($is_editable) {{ Form::checkbox('is_feedback', 1, $is_feedbackexist, array('class'=>'hme-pro-switch-label','id'=>'is_feedback_form')) }} @else {{ Form::checkbox('is_feedback', 1, $is_feedbackexist, array('class'=>'hme-pro-switch-label','id'=>'is_feedback_form', 'disabled' => true)) }} @if(!empty($row) && !$is_editable) {!! Form::hidden("is_feedback",$row->is_feedback,[]) !!} @endif @endif


@php $is_psychometric = false; $is_live_proctoring = false; $onscreen_calculator = false; @endphp @if(!empty($row)) @if($row->is_psychometric) @php $is_psychometric = true; @endphp @else @php $is_psychometric = false; @endphp @endif @if($row->is_live_proctoring) @php $is_live_proctoring = true; @endphp @endif @if($row->onscreen_calculator) @php $onscreen_calculator = true; @endphp @endif @else @php $is_psychometric = false; $is_live_proctoring = false; $onscreen_calculator = false; @endphp @endif
Custom Psychometric :
@if($is_psychometric) {{ Form::checkbox('is_psychometric', 1, 1,array('class'=>'hme-pro-switch-label','id'=>'js-pro-psychometric')) }} @else {{ Form::checkbox('is_psychometric', 1, 0, array('class'=>'hme-pro-switch-label','id'=>'js-pro-psychometric')) }} @endif
@if(HireMeeHelper::getCustomizedRowvalues('is_live_proctoring'))
Live Proctoring :
@if($is_live_proctoring) {{ Form::checkbox('is_live_proctoring', 1, 1,array('class'=>'hme-pro-switch-label','id'=>'js-pro-live-proctor')) }} @else {{ Form::checkbox('is_live_proctoring', 1, 0, array('class'=>'hme-pro-switch-label','id'=>'js-pro-live-proctor')) }} @endif
@endif
@if(HireMeeHelper::getCustomizedRowvalues('onscreen_calculator'))
Allow Calculator :
{{ Form::checkbox('onscreen_calculator', 1, ($onscreen_calculator) ? 1 : 0,array('class'=>'hme-pro-switch-label','id'=>'js-pro-onscreen-calculator')) }}
@endif
@if($customized_corporate==1) @if($customizedcorp->getCorporateSetting->scoring_logic == 1)
Scoring Logic * :
@endif @endif
Custom form :
@php $is_custom_form = false @endphp @if(!empty($row)) @if($row->is_custom_form) @php $is_custom_form = true; @endphp @else @php $is_custom_form = false; @endphp @endif @else @php $is_custom_form = false; @endphp @endif
@if($is_editable) {{ Form::checkbox('is_customform', 1, $is_custom_form, array('class'=>'hme-pro-switch-label','id'=>'is_custom_form')) }} @else {{ Form::checkbox('is_customform', 1, $is_custom_form, array('class'=>'hme-pro-switch-label','id'=>'is_custom_form', 'disabled' => true)) }} {{ Form::hidden('is_customform', $is_custom_form ? 1 : 0) }} @endif
@if(!empty($customized_corporate))
@if(!empty($row) && !$is_editable) {!! Form::hidden("custom_setting",$row->custom_form_choice,[]) !!} @endif
@endif @if(!empty($row)) @if($row->custom_form_choice == 2)
@else
@endif @else
@endif
@if(!empty($row)) @if($is_editable) {!! Form::select('custom_entity_choice',$custom_entity,($row->custom_entity_id)?$row->custom_entity_id:null, ['id' => 'js-pro-custom_entity_choice','class'=> 'hme-select-style','data-placeholder'=>'Select Custome Entity']) !!} @else {!! Form::select('custom_entity_choice',$custom_entity,($row->custom_entity_id)?$row->custom_entity_id:null, ['id' => 'js-pro-custom_entity_choice','class'=> 'hme-select-style','data-placeholder'=>'Select Custome Entity','disabled'=>'disabled']) !!} {!! Form::hidden('custom_entity_choice',($row->custom_entity_id)?$row->custom_entity_id:null,array()) !!} @endif @else {!! Form::select('custom_entity_choice',$custom_entity,null, ['id' => 'js-pro-custom_entity_choice','class'=> 'hme-select-style','data-placeholder'=>'Select Custome Entity']) !!} @endif
@if(!empty($row)) @if($row->custom_form_choice == 2)
@else
@endif @else
@endif Preview
@if(!empty($corporate_settings)) @if($corporate_settings->is_simulation == 1)
is_simulation_assessment == 1)? 'checked' : '') : '' )}} value={{(!empty($row) ? (($row->is_simulation_assessment == 1)? 'on': 'off') :'off' )}}>
@endif @if($corporate_settings->is_face_validation_min == 1)
Mandatory Face Validation :
@if(!empty($row)&&($row->is_face_validation_min == 1)) {{ Form::checkbox('is_face_validation_min', 1, 1,array('class'=>'hme-pro-switch-label','id'=>'js-pro-face-valid-min')) }} @else {{ Form::checkbox('is_face_validation_min', 1, 0, array('class'=>'hme-pro-switch-label','id'=>'js-pro-face-valid-min')) }} @endif
@endif {{-- @if($corporate_settings->is_screen_capture_enabled == 1)
Screen capture enabled :
@if(!empty($row)&&($row->is_screen_capture_enabled == 1)) {{ Form::checkbox('is_screen_capture_enabled', 1, 1,array('class'=>'hme-pro-switch-label','id'=>'js-pro-screen_capture')) }} @else {{ Form::checkbox('is_screen_capture_enabled', 1, 0, array('class'=>'hme-pro-switch-label','id'=>'js-pro-screen_capture')) }} @endif
@endif --}} @if($corporate_settings->assessment_booking_email_check == 1)
Assessment Schedule Email Unique :
@if(!empty($row)&&($row->is_assessment_booking_email_check == 1)) {{ Form::checkbox('is_assessment_booking_email_check', 1, 1,array('class'=>'hme-pro-switch-label','id'=>'js-pro-assessment_booking_email_check')) }} @else {{ Form::checkbox('is_assessment_booking_email_check', 1, 0, array('class'=>'hme-pro-switch-label','id'=>'js-pro-assessment_booking_email_check')) }} @endif
@endif @endif
{!! Form::close() !!}
@endsection