@extends('layout', ['page_title' =>'Result', 'page_slug' => 'show_result']) @section('content')
Name
{{$student->firstname.' '.$student->middlename.' '.$student->lastname }}
Wife/Daughter/Son of Shri
{{$student->father_name }}
Mother name
{{$student->mother_name }}
Type
{{$student->type }}
Course
{{ $student->courses[0]->title }}
Session
{{ $student->session }}
Passing Year
{{ $student->passing_year }}
Date of Birth
{{ $student->dob->format('d M Y') }}
Roll No
{{ $student->roll_no }}
Enrollment No
{{ $student->enrollment_no }}
Gender
{{ $student->gender }}
@foreach($student->marks as $item) @endforeach
Subjects1 Marks
Theory Practical
Th MM Th MnM Th MO Pr MM Pr MnM Pr MO Max Total
{{$item->subject->name}} {{$item->theory_max_marks}} {{$item->theory_min_marks}} {{$item->theory_marks_obtained}} {{$item->practical_max_marks}} {{$item->practical_min_marks}} {{$item->practical_marks_obtained}} {{$item->theory_max_marks + $item->practical_max_marks}} {{$item->subject_total}}
Grand Total {{$student->result->first()->total_marks_obtained.'/'.$student->result->first()->total_max_marks}}
Result Status {{$student->result->first()->passing_status}} ({{$student->result->first()->division}} division)
@csrf
@endsection