@extends('layouts.training_centre_layout') @section('content')
@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 }}
@if ($educationDetail->file_path_url) View Certificate @endif
@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)

Uploaded Documents

View Photo
View Document
View Document
View Document
@endif
@if (!in_array($studentDetails->application_status, ['APPROVED','REJECTED','DISCRIPENCY_FOUND']))
@csrf
Following discrepancies are found in the application:
@foreach ($scrutinyList as $list) @php $base_name = strtolower(str_replace(' ', '_', $list->name)); $input_name = $base_name; @endphp
Is there any discrepancy in this?
@endforeach

Note: If no discrepancy is found in the application, then the application will be approved.

@endif
@endsection @section('pages-scripts') @yield('reject-application-offcanvas-script') @endsection