GENERATING REGISTRATION NUMBER
@forelse ($applications as $count=>$application) @empty @endforelse
# NAMES COURSE BRANCH E-SESSION ADMISSION# REGISTRATION#
{{ ++$count }} {{ $application->student->lname }} {{ $application->student->mname }} {{ $application->student->fname }} {{ $application->course->name }} {{ $application->branchname }} {{ $application->entrysession->name }} {{ $application->student->reggenerator?$application->student->reggenerator->adm_number:$application->regnumber }} {{ $application->student->reggenerator?$application->student->reggenerator->reg_number:'' }} @if ($application->student->reggenerator) @else @if ($application->existingregnumber) @if(!Str::contains(Str::upper($application->existingregnumber),'STD'))
@csrf @endif @else
@csrf @endif @endif