@extends('layouts.admin', [
'page_header' => 'My Reports By Topic Wise',
'dash' => '',
'quiz' => '',
'users' => '',
'questions' => '',
'top_re' => '',
'all_re' => '',
'sett' => ''
])
@section('content')
@if ($topics)
@foreach ($topics as $key => $topic)
{{$topic->title}}
{{str_limit($topic->description, 120)}}
- Per Question Marks
- Total Marks
- Total Questions
- Time
- {{$topic->per_q_mark}}
-
@php
$qu_count = 0;
@endphp
@foreach($questions as $question)
@if($question->topic_id == $topic->id)
@php
$qu_count++;
@endphp
@endif
@endforeach
{{$topic->per_q_mark*$qu_count}}
-
{{$qu_count}}
-
{{$topic->timer}} minutes
@if($topic->show_ans ==1)
Show Report
@endif
@endforeach
@endif
@endsection