@extends('theme.master') @section('title',"Show Report") @section('content')

{{ __('frontstaticword.scorecard') }}

@if ($auth)
@if($topics->show_ans==1)

{{ __('frontstaticword.answerreoprt') }}


@php $x = $count_questions; $y = 1; @endphp @foreach($ans as $key=> $a) @php $y++; if($y > $x){ break; } @endphp @endforeach
{{ __('frontstaticword.Question') }} {{ __('frontstaticword.YourAnswer') }} {{ __('frontstaticword.CorrectAnswer') }}
{{ $a->quiz->question }} {{ $a->user_answer }} {{ $a->answer }}
@endif
@php if($user_exam_id) { $correct1 = $mark*$topics->per_q_mark; if(isset($course->minus_mark)) { $mmark = $inca * $course->minus_mark; $correct = $correct1 - $mmark; }else { $correct = $correct1; } \DB::table('quiz_answers') ->where('topic_id',$topics->id ) ->where('user_id',$user_exam_id) ->update(array('score_card' => $correct)); }else { $correct1 = $mark*$topics->per_q_mark; if(isset($course->minus_mark)) { $mmark = $inca * $course->minus_mark; $correct = $correct1 - $mmark; }else { $correct = $correct1; } \DB::table('quiz_answers') ->where('topic_id',$topics->id ) ->where('user_id',$auth->id ) ->update(array('score_card' => $correct)); } @endphp

Note : Negetive Mark Per InCorrect Questions

{{$course->minus_mark}}

Total Questions Attempted

{{$count_questions}}

Total Questions Attempted

{{$inca}}

Correct Questions

{{$ca}}

In Correct Questions

{{$inca}}

Mark Per Question

{{$topics->per_q_mark}}

Total Marks Obtained

{{$correct}}





{{ __('frontstaticword.ThankYou') }}

@if($topics->institute_id == '') See Solution @endif @if($topics->quiz_again == '1') {{ __('frontstaticword.TryAgain') }} @endif @if($topics->institute_id == '') Go to Test Series @endif
@php $que=[];// = App\Quiz::where('topic_id',$topics->id)->get(); @endphp @foreach($que as $key => $equestion) @endforeach @endif
@endsection @section('custom-script') @endsection