@extends('backend.master') @section('title') {{ ___('common.Online Class Routine 2023') }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}}
@csrf

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

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

{{ setting('application_name') }}

{{ setting('address') }}

{{___('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['resultData']['result'] }}
{{___('report.GPA')}} : @if($data['resultData']['result'] == "Passed")
{{ @$data['resultData']['gpa'] }}
@else
{{ '0.00' }}
@endif
{{___('report.Grade Sheet')}}
@forelse (@$data['resultData']['marks_registers'] as $item) @empty @endforelse
{{___('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) }}
@include('backend.includes.no-data')
@endif
@endsection