@extends('dashboard_connect.dash_master') @section('pagescontents')

Add APAR Data

@csrf
Please select session.
@if(!empty($sessionid))

PART A - GENERAL INFORMATION & ACADEMIC BACKGROUND - {{ getsession($sessionid) }}

@if(Session::has('status'))
@endif @if(Session::has('wrong'))
@endif
@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
@csrf
Please enter name in block letter.
Please enter mother name.
mm/dd/yyy
Please enter place of birth.
Please select gender.
Please select marital status.
Please enter nationality.
Please select department.
Please select designation.
Please enter academic level.
mm/dd/yyy
Please select category.
Please enter phone number.
Please enter mobile number.
Please enter correspondence address.
Please enter permanent address.
@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
@foreach($facultyeducation as $keythree => $itemthree) @php if($itemthree->degyear > 0){ $curryear = $itemthree->degyear; }else{ $curryear = ""; } if($itemthree->mainexam == "Other"){ $dispexamnm = $itemthree->othmainexam; }else{ $dispexamnm = $itemthree->mainexam; } @endphp @endforeach
Examination Name of Exam. University Year of Passing Percentage of Marks obtained Division/ Class/ Grade Main Subjects Action
{{ $dispexamnm }} {{ $itemthree->degreecert }} {{ $itemthree->institution }} {{ $curryear }} {{ $itemthree->obtpercent }} {{ $itemthree->examclass }} {{ $itemthree->mainsubject }}   
@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 Add New Record
@csrf
@foreach($facresearchdegree as $keyresp => $itemresp) @endforeach
Session Degrees Name of the University Title of dissertation/thesis Date of Submission Date of Award Action
{{ getsession($itemresp->sessionid) }} {{ $itemresp->facdegree }} {{ $itemresp->universitynm }} {{ $itemresp->titlethesis }} {{ Carbon\Carbon::parse($itemresp->submdate)->format('d.m.Y') }} {{ Carbon\Carbon::parse($itemresp->awarddate)->format('d.m.Y') }}   
@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
Please enter details.
Please enter details.
@endif
@endif @endsection