@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Students @section('main-content')

Batch / {{$batch->name}} ( {{$batch->subject->name}}, {{$batch->class_name}}th Standard )

@if($studentdetail->profile_photo_path) user @else user @endif
Student Details
@if (!$parentdetail) @endif
{{ isset($studentdetail->first_name)?ucwords($studentdetail->first_name):" " }} {{ isset($studentdetail->last_name)?ucwords($studentdetail->last_name):" " }}
{{ isset($studentdetail->email)?ucwords($studentdetail->email):($parentdetail && isset($studentdetail->gender)?ucwords($studentdetail->gender):" Gender not included yet " ) }}
{{ isset($studentdetail->phone)?ucwords($studentdetail->phone):($parentdetail && isset($studentdetail->dob)?(calculate_age($studentdetail->dob)."y/o ( ".dateformatter($studentdetail->dob)." )"):" Date of birth not include yet ") }}
{{ isset($studentdetail->gender)?ucwords($studentdetail->gender):" Gender not included yet " }}
{{ isset($studentdetail->dob)?(calculate_age($studentdetail->dob)."y/o ( ".dateformatter($studentdetail->dob)." )"):" Date of birth not include yet " }}
@if( $parentdetail!='')
Parent Details
{{ isset($parentdetail->first_name)?ucwords($parentdetail->first_name):" " }} {{ isset($parentdetail->last_name)?ucwords($parentdetail->last_name):" " }}
{{ isset($parentdetail->email)?ucwords($parentdetail->email):" Mail not included yet " }}
{{ isset($parentdetail->phone)?ucwords($parentdetail->phone):" Mobile number not included yet " }}
@endif
Exam Details
@if(isset($examdetail) && count($examdetail) > 0)
    @foreach($examdetail as $index => $detail)
  • {{ $detail->heading }} ( {{ $detail->duration }} min )