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

View Question

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))}}
Close
@endsection @section('scripts') @endsection