@extends('backend.superadmin.index') @section('body')

{{$heading}}

Back
{{-- @include('layouts.message')--}}
@php $marks = 0; @endphp @foreach($objectiveQuestions as $key=>$objectiveQuestion) @endforeach
SN Question Student Answer Status
{{++$key}} @if($objectiveQuestion->use_image=='yes') @else {{$objectiveQuestion->name}} @endif @if($checkStudentAnswer = $objectiveQuestion->studentObjectiveAnswers()->where('student_id',$student->id)->first()) @php $questionOption = \App\OnlineExam\QuestionOption::findOrFail($checkStudentAnswer->question_option_id); @endphp @if($questionOption->use_image=='yes') @else {{$questionOption->name}} @endif @if($questionOption->type=='True') @php $marks += $objectiveQuestion->marks; @endphp @endif @else Not Attempt @endif @if($checkStudentAnswer = $objectiveQuestion->studentObjectiveAnswers()->where('student_id',$student->id)->first()) @php $questionOption = \App\OnlineExam\QuestionOption::findOrFail($checkStudentAnswer->question_option_id); @endphp @if($questionOption->type=='True') @else @endif @else @endif
Total Mask : {{$marks}} | {{round(($marks*100)/$objectiveQuestions->sum('marks'),2)}}%
@endsection {{--@section('css_datatable')--}} {{-- --}} {{-- --}} {{--@endsection--}} {{--@section('js_datatable')--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--@endsection--}}