{{env('APP_NAME')}}

Student Name :{{$examResult->student_name}}
Exam Name :{{$examResult->exam_name}}
Exam Date :{{date('d-m-Y',strtotime($examResult->created_timestamp))}}
Time Taken :{{$examResult->total_taken_time}}
@if($type!='download') @else @endif
Download Download : {{date('d-m-y')}}
Result : {{$examResult->secured_result}}
Percentage : {{$examResult->secured_percentage}}%
Grade : {{$examResult->secured_grade ?? "N/A"}}
@foreach($examResultSubjects as $s) @endforeach
Sr Subject Name Total Marks Correct Marks Wrong Marks Obt. Marks
{{$loop->iteration}} {{$s->subject_name}} {{$s->total_subject_marks}} {{$s->total_correct_answer_marks}} {{$s->total_wrong_answer_marks}} {{$s->total_marks}}
TOTAL {{$examResult->total_marks}} {{$examResult->total_correct_marks}} {{$examResult->total_wrong_marks}} {{$examResult->secured_marks}}
@if(!$type || ($type && $type!="download"))
Go Back
@endif
@foreach($examResultDetails 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
@endforeach
@if($type && $type!="download")
@foreach($chartData as $subject => $data)
@endforeach
@endif