Student Name: {{ $userData->clubbed_name }}

@foreach($examData as $e) @endforeach
Sr Exam Name Total Marks Correct Marks Wrong Marks Secured Marks Time Taken Percentage
{{ $loop->iteration }} {{ $e->exam_name }} {{ $e->total_marks }} {{ $e->exam_result->total_correct_marks }} {{ $e->exam_result->total_wrong_marks }} {{ $e->exam_result->secured_marks }} {{ $e->exam_result->total_taken_time }} {{ $e->exam_result->secured_percentage }}
Total Result {{ $resultGenerator->total_marks }} {{ $resultGenerator->total_correct_marks }} {{ $resultGenerator->total_wrong_marks }} {{ $resultGenerator->total_secured_marks }}
Percentage 100.00 {{ $resultGenerator->percentage }}

Examwise Summary

@if(count($examData)) @foreach($examData as $ed) @if($count > 1)
@endif

{{$ed->exam_name}}

@foreach($ed->exam_result_details as $key=>$detail)
Q.{{$loop->iteration}}) {{$detail->question}}
A. given_answer=="A") checked @endif disabled> {{$detail->option_a}}
B. given_answer=="B") checked @endif disabled> {{$detail->option_b}}
@if($detail->option_c) C. given_answer=="C") checked @endif disabled> {{$detail->option_c}} @endif
@if($detail->option_d) D. given_answer=="D") checked @endif disabled> {{$detail->option_d}} @endif
Correct Answer: ({{$detail->correct_answer}}) @if($detail->correct_answer=="A") {{$detail->option_a}} @elseif($detail->correct_answer=="B") {{$detail->option_b}} @elseif($detail->correct_answer=="C") {{$detail->option_c}} @elseif($detail->correct_answer=="D") {{$detail->option_d}} @endif
Your Answer: {{$detail->given_answer}}
@endforeach
@endforeach @endif