@extends('admin.layout.master') @section('content')

View Qeustion

Selected Question Path

Question Details

  • {!! ($details->question) !!}
  • {{$type}}
  • @if($details->question_type != 9)
  • @if($details->question_type == 1) @if(isset($answerDetailsEng) && count($answerDetailsEng)) @foreach($answerDetailsEng as $test_answer) @if(isset($details) && $details->correct_answer == $right_answer_values[$x-1]){!! '('.strtoupper($right_answer_values[$x-1]).') '.$test_answer->answer.'' !!}@endif @endforeach @elseif(isset($answerDetailsHindi) && count($answerDetailsHindi)) @foreach($answerDetailsHindi as $test_answer) @if(isset($details) && $details->correct_answer == $right_answer_values[$x-1]){!! '('.strtoupper($right_answer_values[$x-1]).') '.$test_answer->answer.'' !!}@endif @endforeach @endif @endif @if($details->question_type == 2) @if(isset($answerDetailsEng) && count($answerDetailsEng)) @foreach($answerDetailsEng as $test_answer) @if(in_array($right_answer_values[$x-1],$right_answers)){!! '('.strtoupper($right_answer_values[$x-1]).') '.$test_answer->answer.'' !!}@endif @endforeach @elseif(isset($answerDetailsHindi) && count($answerDetailsHindi)) @foreach($answerDetailsHindi as $test_answer) @if(in_array($right_answer_values[$x-1],$right_answers)){!! '('.strtoupper($right_answer_values[$x-1]).') '.$test_answer->answer.'' !!}@endif @endforeach @endif @endif @if($details->question_type == 3) @if(isset($details) && $details->correct_answer == $right_answer_values[0]) {{ 'True' }} @else {{ 'False' }} @endif @endif @if($details->question_type == 4) @if($details->range_from != '' && $details->range_to != '') {{'(A) Min: '.$details->range_from.'- Max: '.$details->range_to}} @elseif(isset($answerDetailsEng) && count($answerDetailsEng)) {{ strip_tags($answerDetailsEng[0]->answer) }} @elseif(isset($answerDetailsHindi) && count($answerDetailsHindi)) {{ strip_tags($answerDetailsHindi[0]->answer) }} @endif @endif @if($details->question_type == 7|| $details->question_type == 8) @if(isset($answerDetailsEng) && count($answerDetailsEng)) {{ strip_tags($answerDetailsEng[0]->answer) }} @elseif(isset($answerDetailsHindi) && count($answerDetailsHindi)) {{ strip_tags($answerDetailsHindi[0]->answer) }} @endif @endif
  • @endif
  • @if(isset($details->subject)){{$details->subject}}@else{{'NA'}}@endif
  • @if(isset($details->chapter)){{$details->chapter}}@else{{'NA'}}@endif
  • @if(isset($details->topic)){{$details->topic}}@else{{'NA'}}@endif
  • @if(isset($quesDetailsEng)) {{ strip_tags($quesDetailsEng->solution) }} @elseif(isset($quesDetailsHindi)) {{ strip_tags($quesDetailsHindi->solution) }} @endif
  • @if(isset($quesDetailsEng)) {{$quesDetailsEng->solution_url}} @elseif(isset($quesDetailsHindi)) {{$quesDetailsHindi->solution_url}} @endif
  • Right Marks: {{$details->positive_mark}}

    Typist Name: {{$details->typist_name}}

    Negative Marks: {{$details->negative_mark}}

    Faculty Name: @if(isset($details->faculty_name)){{$details->faculty_name}}@else{{'N/A'}}@endif

    Difficulty Level: {{$difficulty_level}}

    Created Date: {{date('d/m/Y', strtotime($details->created_date))}}

  • {{date('d/m/Y', strtotime($details->created_date))}}
  • @if(isset($assigneds[0])){{'Assigned'}}@else{{'Not Assigned'}}@endif @if(isset($assigneds)) @foreach($assigneds as $assign) @endforeach
    Product Type Product Name Assigned By Assigned Date
    @if($assign->section_type == 1){{'Test'}} @elseif($assign->section_type == 2){{'Practice Set'}} @else {{'Quiz'}} @endif @if($assign->section_type == 1){{$assign->test_name}} @elseif($assign->section_type == 2){{$assign->set_name}} @else {{$assign->quiz_name}} @endif {{$assign->faculty_name}} {{date('d/m/Y', strtotime($assign->created_at))}}
    @endif
Close Edit
@endsection @section('scripts') @endsection