{{-- institution --}}

{{ $institution->institution->name ?? Null }}

Institution Programme:

{{ $institution->programmeHasDiscipline->programme->name ?? Null }}

Email Address:

{{ $institution->institution->primary_email ?? Null }}

Phone Number:

{{ $institution->institution->primary_phone_number ?? Null }}

{{-- end institution --}}

{{-- summary table --}} {{-- --}} {{-- --}} @php $totalScoreObtainable = 0; $totalScoreActual = 0; $totalPercentageObtainable = 0; $totalPercentageActual = 0; @endphp @foreach($calculatedSummary as $sn => $fetchCalculatedSummary) @php $totalScoreObtainable +=$fetchCalculatedSummary['sum']; $totalScoreActual +=$fetchCalculatedSummary['scoredSum']; $totalPercentageObtainable +=$fetchCalculatedSummary['percentage']; $totalPercentageActual +=$fetchCalculatedSummary['scoredPercentage']; @endphp @endforeach
SCORING GUIDE SUMMARY
S/N SECTION OBTAINABLE POINTS ACTUAL POINTS OBTAINBALE PERCENTAGE (%) ACTUAL PERCENTAGE
{{ ++$sn }} {{ $fetchCalculatedSummary['name'] }} @if(Auth::user()->can('view_school_score')) {{ str_replace(".00", "", $fetchCalculatedSummary['sum']) }} @endif {{ str_replace(".00", "", $fetchCalculatedSummary['scoredSum'])}} @if(Auth::user()->can('view_school_percentage')) {{ str_replace(".00", "", $fetchCalculatedSummary['percentage']) }} @endif {{ str_replace(".00", " ", $fetchCalculatedSummary['scoredPercentage'])}}
Total {{$totalScoreObtainable}} {{$totalScoreActual}} {{$totalPercentageObtainable}} {{$totalPercentageActual}}
{{-- end of summary table --}} {{-- report table --}}

@foreach($checklistCategories as $sn => $checklistCategory) @foreach($checklistCategoryitems as $sn => $checklistCategoryitem) @if($checklistCategoryitem['checklistCategory'] == $checklistCategory['id']) @endif @endforeach {{--

--}} @endforeach
{{ $checklistCategory['category'] }} {{ str_replace(".00", "", $checklistCategory['categoryObtainablePoint']) }} POINTS ({{ str_replace(".00", "", $checklistCategory['categoryObtainablePercentage']) }})
S/N ITEMS OBTAINABLE POINTS ACTUAL POINTS
{{ ++$sn}} {!! htmlspecialchars($checklistCategoryitem['item_name']) !!} {{ str_replace(".00", "", $checklistCategoryitem['obtainbalePoint']) }} {{ str_replace(".00", "", $checklistCategoryitem['actualPoint']) }}
{{-- end of report table --}}

{{-- teaching staff --}}
Data on Teaching staff involved in the programme
(Add additional Pages if needed)
{{-- {{$teachingstaff}} --}} @php $sn = 0; @endphp @foreach ($teachingstaff as $teachingstaffs) @endforeach
S/n Name Designation Date of appointment Last Promotion Full part time Qualification(s) Specialization Practice Licences Number Course(s)Taught Total teaching hour per week Publication(s)name of journal and date of publication Papers presented Numbers of projects supervised in five last years Other responsibilities Remark
{{ ++$sn }} {{$teachingstaffs['name']}} {{$teachingstaffs['designation']}} {{$teachingstaffs['appointment_date']}} {{$teachingstaffs['last_promotion']}} {{$teachingstaffs['job_type']}} {{$teachingstaffs['qualifications']}} {{$teachingstaffs['specialization']}} {{$teachingstaffs['practice_licence_no']}} {{$teachingstaffs['courses_instructed']}} {{$teachingstaffs['total_hour_weekly']}} {{$teachingstaffs['pulications']}} {{$teachingstaffs['pappers_presented']}} {{$teachingstaffs['project_supervised']}} {{$teachingstaffs['other_responsiblities']}} {{$teachingstaffs['remark']}}
{{-- end teaching staff --}}

{{-- non teaching --}}
Data on Technical staff involved in the programme
(Add additional Pages if needed)
@php $sn = 0; @endphp @foreach ($nonTeachingStaff as $nonTeachingStaffs) @endforeach
S/n Name Designation Qualification(s) Type of service rendered Professional i registration (where applicable) Other responsibilities Remarks
{{ ++$sn }} {{$nonTeachingStaffs['name']}} {{$nonTeachingStaffs['designation']}} {{$nonTeachingStaffs['qualifications']}} {{$nonTeachingStaffs['service_rendered']}} {{$nonTeachingStaffs['professional_registration']}} {{$nonTeachingStaffs['other_responsiblities']}} {{$nonTeachingStaffs['remark']}}
{{-- end non teaching --}}

{{-- technical --}}
Data on Non-Teaching staff involved in the programme
(Add additional Pages if needed)
@php $sn = 0; @endphp @foreach ($technicalStaff as $technicalStaffs) @endforeach
S/n Name Designation Practice Licences where applicable Courses of instruction Total practical (s) week Other responsibilities Remark
{{ ++$sn }} {{$technicalStaffs['name']}} {{$technicalStaffs['designation']}} {{$technicalStaffs['practice_licence_no']}} {{$technicalStaffs['courses_instructed']}} {{$technicalStaffs['total_hour_weekly']}} {{$technicalStaffs['other_responsiblities']}} {{$technicalStaffs['remark']}}
{{-- end technical staff --}}

{{-- logs --}} {{--
Logs And Approval
--}} {{--
(List of logs and status)
--}}

Endorsement Page

@foreach($appLogs as $sn=> $applog)
Name:{{$applog['approver']}}

Rank:{{$applog['rank']}}

Date:{{ explode (" ", Carbon\Carbon::parse($applog['date'])->format('d-m-Y'))[0]}}

@endforeach {{-- end logs --}}