@extends('../layout/' . $layout) @section('subhead') Atarud MIS - Question @endsection @section('subcontent')

Questions

@csrf @method('post') @php $c = 0; @endphp {{-- @foreach($examQuestionSetting as $row) --}} {{-- @php $q = App\Models\QuestionBank::where('id', $row->question_id)->first(); @endphp --}}
{{--
{{ $examType != null ? $examType->name : '' }}
--}}
@foreach($questions as $t) @php ++$c; $question = App\Models\QuestionBank::where('id', $t->question_id)->first(); @endphp
Question{{ $c }}: {{ $question != null ? $question->question :'' }}

Answer: {{ $t->answer }}
Answer Status: {{ $t->answerStatus }}
@if($t->file != null) @endif
@endforeach
@endsection