@extends('student-panel.partials.master') @section('title') {{ ___('common.Online Class Routine 2023') }} @endsection @section('content')
@csrf

{{ ___('common.Filtering') }}

@error('exam_type')
{{ $message }}
@enderror
@if (@$data['result'])
{{___('common.PDF Download')}}

{{ setting('application_name') }}

{{ setting('address') }}

{{-- {{ dd(@$data['student']) }} --}}
{{___('student_info.Student Name')}} :
{{ @$data['student']->first_name }} {{ @$data['student']->last_name }}
{{___('report.Guardian Name')}} :
{{ @$data['student']->parent->guardian_name }}
{{___('common.date_of_birth')}} :
{{ dateFormat(@$data['student']->dob) }}
{{___('report.Guardian Phone')}} :
{{ @$data['student']->parent->guardian_mobile }}
{{___('academic.class')}} ({{___('academic.section')}}) :
{{ @$data['student']->session_class_student->class->name }} ({{ @$data['student']->session_class_student->section->name }})
{{___('report.Guardian Email')}} :
{{ @$data['student']->parent->guardian_email }}
{{___('report.Result')}} :
{{ @$data['result'] }}
{{___('report.GPA')}} : @if($data['result'] == "Passed")
{{ @$data['gpa'] }}
@else
{{ '0.00' }}
@endif
{{___('report.Grade Sheet')}}
@foreach (@$data['marks_registers'] as $item) @endforeach
{{___('report.Subject Code')}} {{___('report.Subject Name')}} {{___('report.Grade')}}
{{ $item->subject->code }}
{{ $item->subject->name }}
@php $n = 0; @endphp @foreach ($item->marksRegisterChilds as $item) @php $n += $item->mark; @endphp @endforeach
{{ markGrade($n) }}
@endif
@endsection