{{--
{{ print_r($existing)}}
{{ count($existing) }}--}} @can('registrar')
 Go Back @if ($reggenerator)
Names {{ $reggenerator->student->fname }} {{ $reggenerator->student->lname }}
Reg-Number/Prefix {{ $reggenerator->regprefix }}
Full-Reg# {{ $reggenerator->reg_number }}
Admission# {{ $reggenerator->adm_number }}
Entry-Session {{ $reggenerator->entrysession }}
@if ($existing && count($existing)==3) @if ($type==0)
@csrf @method('PUT')
@endif @if ($type==1)
@csrf @method('PUT')
@endif @else
  This Reg/Adm# Cannot be edited!
@endif @else
  Error! The reg# is not generated/confirmed yet!
@endif
@else
You are not allowed to access this content!
@endcan