@extends('layouts.frontend') @section('js_after') @endsection @section('content')
@csrf
Yr
@php $x=1; @endphp @if(isset($periods) && count($periods)>0) @foreach($periods as $period)
@php $x++; @endphp @endforeach @endif
@if(isset($questiondetails) && count($questiondetails)>0) @php $i=1; @endphp @foreach($questiondetails as $question)
QUESTION {{$i}} OF {{$questiondetails->count()}}

{!!$question->question!!}

@php $questionOptions = $question->qusetionOptions; @endphp @if(isset($questionOptions) && count($questionOptions)>0) @php $iopt = 'A'; @endphp @foreach($questionOptions as $qoption)
{{$iopt}}.
@php $iopt++; @endphp @endforeach @endif
@php $i++; @endphp @endforeach @endif
@endsection