@php //dd($cert); $student = json_decode($cert->student); $sections = json_decode($cert->sections); //dd($sections); @endphp DMAT Score Card
Datatrained

DataTrained Management Aptitude Test

DMAT-Score
DataTrained Management Aptitude Test
@if(isset($student->name) && $student->name) Name
{{ $student->name }} @endif
@if(isset($cert->attempt_date) && $cert->attempt_date) Test Date
{{ explode('T', $cert->attempt_date)[0] }} @endif
@if(isset($student->father_name) && $student->father_name) Father's Name
{{ $student->father_name }} @endif
@if(isset($student->state) && $student->state) State
{{ $student->state }} @endif
@if(isset($student->city) && $student->city) City
{{ $student->city }} @endif
@if(isset($student->education) && $student->education) Highest Education
{{ $student->education }} @endif
@if(isset($student->education_course) && $student->education_course) Course
{{ $student->education_course }} @endif
@php $to = 0; $tt = 0; @endphp
Scores Obtained
Language Comprehension Intelligence & Critical Reasoning Mathematical Skills General Science Data Analysis & Sufficiency
@php $obtained = $sections[0]->marks_obtained+$sections[1]->marks_obtained; $total = $sections[0]->total_marks+$sections[1]->total_marks; echo ($obtained/$total)*100; $to += $obtained; $tt += $total; @endphp % @php $obtained = $sections[2]->marks_obtained+$sections[3]->marks_obtained; $total = $sections[2]->total_marks+$sections[3]->total_marks; echo ($obtained/$total)*100; $to += $obtained; $tt += $total; @endphp % @php $obtained = $sections[4]->marks_obtained; $total = $sections[4]->total_marks; echo ($obtained/$total)*100; $to += $obtained; $tt += $total; @endphp % @php $obtained = $sections[5]->marks_obtained; $total = $sections[5]->total_marks; echo ($obtained/$total)*100; $to += $obtained; $tt += $total; @endphp % @php $obtained = $sections[6]->marks_obtained+$sections[7]->marks_obtained+$sections[8]->marks_obtained; $total = $sections[6]->total_marks+$sections[7]->total_marks+$sections[8]->total_marks; echo ($obtained/$total)*100; $to += $obtained; $tt += $total; @endphp %
Composite Score: {{ ($to/$tt)*100 }}%
Valid for {{ $cert->validity }} months from Test Date