{{ $agency?->name }}

Examination Summary Report

{{ $exam->title }}

Date: {{ now()->format('d M, Y') }}

Uploaded Photo

@if($student->photo) Uploaded @else
No Photo
@endif

Live Photo

@if($biometric?->live_photo) Live @else
No Live Photo
@endif
Student Name
{{ $student->name }}
Father Name
{{ $student->father_name }}
Roll Number
{{ $student->roll_number }}
Address
{{ $student->address }}

Performance Breakdown

@foreach($questions as $index => $question) @php $answer = $studentAnswers->get($question->id); $translations = $question->translations; $options = $question->options; @endphp
Q{{ $index + 1 }}. (Marks: {{ $question->marks }})
@foreach($translations as $translation)
{{ $translation->language_code }}: {!! $translation->title !!}
@endforeach
@foreach($options as $option) @php $isUserAnswer = $answer && $answer->answer == $option->option_index; $isCorrect = $option->is_correct; @endphp
{{ chr(97 + $loop->index) }}. @foreach($option->translations as $optTrans) {{ $optTrans->language_code }}: {!! $optTrans->title !!} @endforeach @if($isUserAnswer && $isCorrect) (Correct) @elseif($isUserAnswer && !$isCorrect) (Incorrect) @elseif($isCorrect) (Correct Answer) @endif @if($isUserAnswer) [YOUR RESPONSE] @endif
@endforeach
@endforeach