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

Batches / {{ isset($studentdetail->first_name)?ucwords($studentdetail->first_name):" " }} {{ isset($studentdetail->last_name)?ucwords($studentdetail->last_name):" " }}

@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
@if(count($batches) != 0 && !empty($batches)) @for ($i =0 ; $i < count($batches); $i+=2) @for ( $j=$i ; $j<$i+2; $j++) @if ($j
Card image cap

{{strtoupper($batches[$j]->name)}}

( {{$batches[$j]->teacher->first_name ?? 'N/A'}} {{$batches[$j]->teacher->last_name ?? 'N/A' }} )
  • Mode: {{strtoupper($batches[$j]->mode)}}
  • Standard: {{$batches[$j]->class_name}}
  • Start Time: {{date("h:i a", strtotime($batches[$j]->start_time))}}
  • End Time: {{date("h:i a", strtotime($batches[$j]->end_time))}}
View More !!!
@else
@endif @endfor @endfor @else @endif
id Column 1 Column 2
{{$i}}
@if (count($batches) == 0)
No batch details available.
@endif
@endsection