@extends('layouts.admin') {{ config('app.name', 'Laravel') }} | Transport-Student-Details @section('main-content')

Student Profile {{isset($parent[0]->created_at)?$parent[0]->created_at->format('d-m-Y ( h : i a )'):""}}{{-- isset($student[0]->first_name)?ucwords($student[0]->first_name):" " }} {{ isset($student[0]->last_name)?ucwords($student[0]->last_name):" " --}}

@if (isset($teacher_details)) ( {{$teacher_details->first_name." ".$teacher_details->last_name}} ) @else Teacher not assigned yet. @endif
( {{isset($child_add_info) && $child_add_info->student_class?$child_add_info->student_class:"Class not assigned yet."}} )
@if(isset($student->profile_photo_path)) user @else user @endif
{{ isset($student->first_name)?ucwords($student->first_name):" " }} {{ isset($student->last_name)?ucwords($student->last_name):" " }}
@if(isset($child_add_info)) @else @endif
Gender : {{ isset($student->gender)?ucwords($student->gender):" Gender not included yet " }}
Age : {{ isset($student->dob)?(calculate_age($student->dob)."y/o ( ".dateformatter($student->dob)." )"):" Date of birth not include yet " }}
{{ isset($student->emergency_contact)?"Emergency contact : ".$student->emergency_contact:" Emergency number not included yet " }}
@if (isset($child_add_info->birth_certificate)) last_name)}}_birth_certifcates">Birth Certificate @else Birth Certificate not include yet @endif
@if (isset($child_add_info->vaccination_certificate)) last_name)}}_vaccination_certificate">Vaccination Card @else Vaccination Certificate not include yet @endif
Allergic : {{isset($child_add_info->allergies)?"Yes":"No"}}
Allergy List : {{ isset($child_add_info->allergies)?$allergies_str:" Allergies not included yet " }}
{{ (isset($child_add_info->description) && $child_add_info->description!="")?"Allergic Description : ".$child_add_info->description:" Description not included yet " }}
Allergic : No
Payment Months
@if(!empty($fee_dates) && count($fee_dates) > 0) @endif
@endsection