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

@if ($auth)

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


@php $correct = $mark*$topics->per_q_mark; @endphp
{{ __('frontstaticword.TotalQuestion') }} {{ __('frontstaticword.CorrectQuestions') }} {{ __('frontstaticword.PerQuestionMark') }} {{ __('frontstaticword.TotalMarks') }}
{{$count_questions}} @php $mark = 0; $ca=0; $correct = collect(); @endphp @foreach ($ans as $answer) @php $mark++; $ca++; @endphp @endforeach @if ($answer->txt_approved == '1') {{$ca}} @else Pending @endif {{$topics->per_q_mark}} @if ($answer->txt_approved == '1') {{$correct}} @else Pending @endif

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

@endif

@endsection @section('custom-script') @endsection