@props(['application'])
Photo
FIRST NAME {{ $application->student->fname }}
MIDDLE NAME {{ $application->student->mname }}
LAST NAME {{ $application->student->lname }}
EMAIL {{ $application->student->email }}
PHONE {{ $application->student->phone }}
SUID {{ $application->student->suid }}
ACTIVATION CODE {{ $application->student->activation_code }}
@csrf

STUDENT'S DETAILS

@if ($application!=NULL)
DOB {{ $application->dob }}
PLACE OF BIRTH {{ $application->placeofbirth }}
SEX {{ $application->sex->name }}
FATHER'S NAME {{ $application->fathernames }}
MOTHER'S NAME {{ $application->mothernames }}
MARITAL STATUS {{ $application->marital->name }}
COUNTRY {{ $application->country->name }}
DISTOR {{ $application->district }}
SECTOR {{ $application->sector }}
CELL {{ $application->cell }}
NID {{ $application->nid }}
PASSPORT {{ $application->passportnumber }}
ACTUAL EMPLOYMENT {{ $application->actualemployment }}
EMPLOYMENT ADDRESS {{ $application->employmentaddress }}
LAST HLE {{ $application->lasthle }}
LAST HLE ADDRESS {{ $application->lasthleaddress }}
LAST SECONDARY SCHOOL {{ $application->lastsecondaryschool }}
COMPLETION DATE {{ $application->completiondate }}
SECTION/COMBINATION {{ $application->sectioncombination }}
MARKS {{ $application->marks }}
MARKS PER MAJOR {{ $application->markspermajor }}
COURSE {{ $application->course->name }}
ALTERNATIVE COURSE {{ $application->alternativecourse }}
ATTENDED UG BEFORE ? {{ $application->attendedugbefore?'YES':'NO' }}
IF YES WHEN ? {{ $application->ifyeswhen }}
EXISTING REG NUMBER {{ $application->existingregnumber }}
REG/NUMBER {{ $application->regnumber }}
SELECTION STATUS {{ $application->selectionstatus->name }}
SUBMITTED ? {{ $application->submissionstate?'YES':'NO' }}
APPL-STEPS {{ $application->applicationsteps->name }}
APPL-SESSION {{ $application->entrysession->name }}
@else
WE CAN'T FIND APPLICATION FOR THIS USER/ACCOUNT!
@endif

BRANCHES

@forelse ($application->student->studentbranch as $studentbranch) @empty @endforelse
#BranchCourse
# {{ $studentbranch->branch->name }} {{ $studentbranch->branch->course->name }}
NO BRANCHES

REQUIRED DOCUMENTS

@php $d=0; @endphp @forelse ($application->student->studentdocuments as $doc) @empty @endforelse
{{ ++$d }} {{ $doc->studentdoctype->name }} View
NO DOCUMENTS FOUND