@foreach($userroleData as $keyone => $itemone)
@php
$name = !empty($itemone->name) ? Str::upper($itemone->name) : "";
$lname = !empty($itemone->lname) ? Str::upper($itemone->lname) : "";
$gendermem = !empty($itemone->gender) ? $itemone->gender : "";
$depaid = !empty($itemone->depaid) ? $itemone->depaid : "";
$desigid = !empty($itemone->desigid) ? $itemone->desigid : "";
$phoffice = !empty($itemone->phoffice) ? $itemone->phoffice : "";
$phresd = !empty($itemone->phresd) ? $itemone->phresd : "";
$mobileno = !empty($itemone->mobileno) ? $itemone->mobileno : "";
$permaddress = !empty($itemone->permaddress) ? Str::upper($itemone->permaddress) : "";
$commaddress = !empty($itemone->commaddress) ? Str::upper($itemone->commaddress) : "";
$categoryid = !empty($itemone->categoryid) ? $itemone->categoryid : "";
$mname = Str::upper(getuserinfodata($itemone->id, "mname"));
$fname = Str::upper(getuserinfodata($itemone->id, "fname"));
$dobirth = getuserinfodata($itemone->id, "dobirth");
$dobirth = date("Y-m-d", strtotime($dobirth));
$placebirth = getuserinfodata($itemone->id, "placebirth");
$martstat = getuserinfodata($itemone->id, "martstat");
$nationality = getuserinfodata($itemone->id, "nationality");
$acadlevel = getuserinfodata($itemone->id, "acadlevel");
$appintment = getuserinfodata($itemone->id, "appintment");
$dateappt = getuserinfodata($itemone->id, "dateappt");
$dateappt = date("Y-m-d", strtotime($dateappt));
$resvdcateg = getuserinfodata($itemone->id, "resvdcateg");
if($appintment == "Last Appointment"){
$lappt = "checked";
}else{
$lappt = "";
}
if($appintment == "Promotion"){
$pappt = "checked";
}else{
$pappt = "";
}
@endphp
@endforeach
@if($checkidexists == "0")
Dear User! You have not generated the APAR for the required session, please update the information in "1-12-General Information" TAB and generate the APAR for the required session.
@else
Add New Record
@csrf
Session
Degrees
Name of the University
Title of dissertation/thesis
Date of Submission
Date of Award
Action
@foreach($facresearchdegree as $keyresp => $itemresp)
{{ getsession($itemresp->sessionid) }}
{{ $itemresp->facdegree }}
{{ $itemresp->universitynm }}
{{ $itemresp->titlethesis }}
{{ $itemresp->submdate }}
{{ $itemresp->awarddate }}
@endforeach
@endif
@if($checkidexists == "0")
Dear User! You have not generated the APAR for the required session, please update the information in "1-12-General Information" TAB and generate the APAR for the required session.
@else
@csrf
@php
$ugleveldata = "";
$pgleveldata = "";
$ugleveldata = getleveldata($itemone->id, $sessionid, "UGLEVEL");
$pgleveldata = getleveldata($itemone->id, $sessionid, "PGLEVEL");
@endphp
@endif