My profile

@if ($student)
Exam number {{ $student->registration_number }}
Surname {{ $student->surname }}
Forenames {{ $student->forenames }}
Date of birth {{ $student->dob }}
Gender {{ $student->gender }}
Home address {{ $student->home_address }}
Work address {{ $student->work_address }}
Country {{ $student->country }}
Nationality {{ $student->nationality }}
E-mail address {{ auth()->user()->email }}
Phone number {{ $student->phone }}
ESAMI Venue {{ $student->campus->name }}
Date admitted {{ $student->admission_date }}
Qualification {{ $student->academic_qualification }}
Employer {{ $student->employedBy->name }}
Position {{ $student->company_position }}
Passport size
@else

Profile is not yet generated

@endif