@if ($studentDetails->personalDetail->count() > 0)
Personal Details:
{{ $studentDetails->personalDetail->name }}
{{ $studentDetails->personalDetail->email }}
{{ $studentDetails->personalDetail->phone }}
{{ $studentDetails->personalDetail->dob }}
{{ $studentDetails->personalDetail->genderDetail->type_name }}
{{ $studentDetails->personalDetail->correspondence_city }}
{{ $studentDetails->personalDetail->correspondence_address }}
{{ $studentDetails->personalDetail->correspondence_pincode }}
Emergency Contact:
{{ $studentDetails->personalDetail->emergency_name }}
{{ $studentDetails->personalDetail->emergency_phone }}
{{ $studentDetails->personalDetail->relationship }}
@endif
@if ($studentDetails->educationDetail->count() > 0)
Educational Details
@foreach ($studentDetails->educationDetail as $educationDetail)
{{-- {{ dd($educationDetail) }} --}}
Education {{ $loop->index + 1 }}
{{ $educationDetail->qualification->name }}
{{ $educationDetail->board }}
{{ $educationDetail->institution }}
{{ $educationDetail->year }}
{{ $educationDetail->grade }}
@endforeach
@endif
@if ($studentDetails->courseSelectionDetail->count() > 0)
Course & Centre Selection
@foreach ($studentDetails->courseSelectionDetail as $courseSelectionDetail)
{{ $courseSelectionDetail->course->title }}
(Duration: {{ $courseSelectionDetail->course->total_hours }} hours, Type: {{ $courseSelectionDetail->course->course_type_desc }})
@endforeach
@endif
@if ($studentDetails->uploadDetail->count() > 0)
@endif
@if (!in_array($studentDetails->application_status, ['APPROVED','REJECTED','DISCRIPENCY_FOUND']))
@endif