@extends('layouts.report_dashboard') @section('title-content') {{ config('app.name') }} | Dash Index @endsection @section('css') @endsection @section('content')

The Local Government Training Institute (LGTI)

Annual Results Report


@if (count($course_data) > 0) @foreach ($course_data as $courses => $item) @if ($courses == '0') @break @endif @endforeach @endif
Table 1. ANNUAL REPORT
Program Name Program Code Academic Year Study Year Semester
{{ $item->program_name }} {{ $item->program_code }} {{ $item->year }} {{ $year_study }} ALL

@if (count($course_data) > 0) @foreach ($course_data as $courses) {{-- --}} @endforeach @endif
Table 2. MODULES EXAMINED IN SEMESTER I Year {{ $year_study }} - @if (count($course_data) > 0) @foreach ($course_data as $courses => $item) @if ($courses == '0') {{ $item->year }} @break @endif @endforeach @endif
CODE MODULE NAME INSTRUCTORS
{{ $courses->course_code }} {{ $courses->course_name }}{{$courses->fn}} {{$courses->mn}} {{$courses->ln}}{{ $srs->getInstructor($courses->course_id) }}

@if (count($course_data_semiII) > 0) @foreach ($course_data_semiII as $courses) @endforeach @endif
Table 3. MODULES EXAMINED IN SEMESTER II Year {{ $year_study }} - @if (count($course_data) > 0) @foreach ($course_data as $courses => $item) @if ($courses == '0') {{ $item->year }} @break @endif @endforeach @endif
CODE MODULE NAME INSTRUCTORS
{{ $courses->course_code }} {{ $courses->course_name }} {{ $srs->getInstructor($courses->course_id) }}

{{--
--}}
@if ($program_ccd != null) @if ($program_ccd->program_code == 'BTCCD') @else @endif @endif
Table 4. GENERAL PERFORMANCE SUMMARY
CLASSIFICATION FREQUENCY
M % F % TOTAL %
FIRST CLASS @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'FIRST CLASS') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'FIRST CLASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'FIRST CLASS') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'FIRST CLASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'FIRST CLASS') }} @endif {{ $srs->calculate_percentage($srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'FIRST CLASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
SECOND CLASS @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SECOND CLASS') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SECOND CLASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SECOND CLASS') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SECOND CLASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SECOND CLASS') }} @endif {{ $srs->calculate_percentage($srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SECOND CLASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
UPPER SECOND @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'UPPER SECOND') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'UPPER SECOND'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'UPPER SECOND') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'UPPER SECOND'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'UPPER SECOND') }} @endif {{ $srs->calculate_percentage($srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'UPPER SECOND'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
LOWER SECOND @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'LOWER SECOND') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'LOWER SECOND'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'LOWER SECOND') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'LOWER SECOND'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'LOWER SECOND') }} @endif {{ $srs->calculate_percentage($srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'LOWER SECOND'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
PASS @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'PASS') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'PASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'PASS') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'PASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'PASS') }} @endif {{ $srs->calculate_percentage($srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'PASS'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
RE-SUPP {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP') }} @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP') }} @endif @if (count($student) > 0) {{ $srs->calculate_percentage($srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} @endif @if (count($student) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP') }} @endif {{ $srs->calculate_percentage($srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP'), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
TOTAL {{ $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) }} {{ $srs->calculate_percentage($srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code)) }} {{ $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code) }} {{ $srs->calculate_percentage($srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }} {{ $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code) }} {{ $srs->calculate_percentage($srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code), $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'M', $program_code) + $srs->getAnnualRemarkTotalByGender($course_id, $batch_id, $academic_year_id, 'F', $program_code)) }}
{{--
--}}


{{--
--}}
Table 5. OTHER CASES
REMARKS MALE FEMALE TOTAL
RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RM') }} @endif @endif
RE-SUPP/RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP/RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP/RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP/RM') }} @endif @endif
POSTPONED @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED') }} @endif @endif
RE-SUPP/SPECIAL @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,SPECIAL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,SPECIAL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,SPECIAL') }} @endif @endif
RE-SUPP/POSTPONED @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,POSTPONED') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,POSTPONED') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,POSTPONED') }} @endif @endif
REPEAT A YEAR @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'NIL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'NIL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'NIL') }} @endif @endif
SUPP @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SUPP') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SUPP') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SUPP') }} @endif @endif
POSTPONED/SPECIAL/RE-SUPP @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED,SPECIAL,RE-SUPP') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED,SPECIAL,RE-SUPP') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED,SPECIAL,RE-SUPP') }} @endif @endif
POSTPONED/SPECIAL/SUPP @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED,SPECIAL,SUPP') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED,SPECIAL,SUPP') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED,SPECIAL,SUPP') }} @endif @endif
POSTPONED/SUPP/SPECIAL/RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED,SUPP,SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED,SUPP,SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED,SUPP,SPECIAL,RM') }} @endif @endif
SUPP/SPECIAL @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SUPP,SPECIAL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SUPP,SPECIAL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SUPP,SPECIAL') }} @endif @endif
SPECIAL/RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SPECIAL,RM') }} @endif @endif
SUPP/SPECIAL/RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SUPP,SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SUPP,SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SUPP,SPECIAL,RM') }} @endif @endif
ABSCONDED @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'ABSCONDED') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'ABSCONDED') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'ABSCONDED') }} @endif @endif
RE-SUPP/SUPP/RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,SUPP,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,SUPP,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,SUPP,RM') }} @endif @endif
RE-SUPP/SUPP/SPECIAL/RM @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,SUPP,SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,SUPP,SPECIAL,RM') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,SUPP,SPECIAL,RM') }} @endif @endif
DISCONTINUE @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'DISCONTINUE') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'DISCONTINUE') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'DISCONTINUE') }} @endif @endif
TOTAL @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,POSTPONED') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,SPECIAL') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED,SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED,SPECIAL,SUPP') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SUPP') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'POSTPONED,SPECIAL,RE-SUPP') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SUPP,SPECIAL') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'ABSCONDED') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'RE-SUPP,SUPP,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'DISCONTINUE') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'M', 'NIL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,POSTPONED') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,SPECIAL') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED,SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED,SPECIAL,SUPP') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SUPP') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'POSTPONED,SPECIAL,RE-SUPP') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SUPP,SPECIAL') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'ABSCONDED') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'RE-SUPP,SUPP,RM') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'DISCONTINUE') + $srs->annualReportRemarkSummary($course_id, $batch_id, $academic_year_id, 'F', 'NIL') }} @endif @endif @if (count($student) > 0) @if (count($course_data) > 0) {{ $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,POSTPONED') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,SPECIAL') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED,SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED,SPECIAL,SUPP') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SUPP') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'POSTPONED,SPECIAL,RE-SUPP') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SUPP,SPECIAL') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SPECIAL,RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'ABSCONDED') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,SUPP,SPECIAL,RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'RE-SUPP,SUPP,RM') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'DISCONTINUE') + $srs->annualReportRemarkSummaryTotal($course_id, $batch_id, $academic_year_id, null, 'NIL') }} @endif @endif
{{--
--}}




@if (count($course_data) > 0) @foreach ($course_data as $courses) @endforeach @endif @if (count($course_data_semiII) > 0) @foreach ($course_data_semiII as $courses) @endforeach @endif {{-- --}} @if (count($course_data) > 0) @foreach ($course_data as $courses) {{-- --}} @endforeach @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} @if (count($course_data_semiII) > 0) @foreach ($course_data_semiII as $courses) {{-- --}} @endforeach @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @if (count($student) > 0) @foreach ($student as $students => $item) {{-- --}} {{-- Result for Semster I --}} @if (count($course_data) > 0) @foreach ($course_data as $courses) @endforeach @endif @if (count($course_data_semiII) > 0) @foreach ($course_data_semiII as $courses) @endforeach @endif @endforeach @else @endif
Table 6. SUMMARISED RESULTS
Module
Credit Hours{{ $srs->trim_decimal_space($courses->unit) }}{{ $srs->trim_decimal_space($courses->unit) }}
SNO SEXNAMEREG_# {{$courses->course_code}} --}} {{--
{{ $courses->course_code }}
Total Credit TakenCredits AcquiredModules Failed --}} {{--
GPA
--}} {{--
{{$courses->course_code}}
{{ $courses->course_code }}
Total Credit TakenCredits AcquiredModules Failed --}} {{--
GPA
--}} {{--
Total Credit TakenCredits AcquiredModules Failed Cumulative GPA REMARKSModules Under Supplementary
{{ $students + 1 }} {{ $item->gender }}{{$item->fn}} {{$item->mn}} {{$item->ln}}{{ $item->reg_no }} {{ $srs->get_Student_Grade_Semester_Report($item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id) }} {{ $srs->get_Student_Grade_Semester_Report($item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id) }} {{-- module failed --}} @if (count($course_data) > 0 && count($course_data_semiII) > 0) @if (is_numeric( $srs->module_failed( $course_data, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id)) && is_numeric( $srs->module_failed( $course_data_semiII, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id))) {{ $srs->module_failed($course_data, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id) + $srs->module_failed($course_data_semiII, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id) }} @else - @endif @endif {{-- cumulative gpa --}} @if (count($course_data) > 0 && count($course_data_semiII) > 0) {{-- @dd($srs->calculate_report_gpa($course_data,$item->year_id,$item->stid,$item),$srs->calculate_report_gpa($course_data_semiII,$item->year_id,$item->stid,$item)) --}} @if (is_numeric($srs->calculate_report_gpa($course_data, $item->year_id, $item->stid, $item)) && is_numeric($srs->calculate_report_gpa($course_data_semiII, $item->year_id, $item->stid, $item))) {{ $srs->formatGPA(($srs->calculate_report_gpa($course_data, $item->year_id, $item->stid, $item) + $srs->calculate_report_gpa($course_data_semiII, $item->year_id, $item->stid, $item)) / 2) }} @else - @endif @endif {{-- @dd($item) --}} {{-- REMARK --}} @if (count($course_data) > 0 && count($course_data_semiII) > 0) @if (is_numeric( $srs->module_failed( $course_data, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id)) && is_numeric( $srs->module_failed( $course_data_semiII, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id))) @if ($srs->module_failed( $course_data, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id) + $srs->module_failed( $course_data_semiII, $item->stid, $courses->cid, $item->year_id, $courses->semester, $item->department_id, $item->program_id) > 0) {{ $srs->annualReportRemark($course_data, $course_data_semiII, $item->stid, $item->reg_no, $item->year_id, $courses->semester, $item->department_id, $item->program_id) }} @else @if (is_numeric($srs->calculate_report_gpa($course_data, $item->year_id, $item->stid, $item)) && is_numeric($srs->calculate_report_gpa($course_data_semiII, $item->year_id, $item->stid, $item))) @if ($item->program_code == 'BTCCD') {{ $srs->populationBachelor_schemeGPA_classification($srs->formatGPA(($srs->calculate_report_gpa($course_data, $item->year_id, $item->stid, $item) + $srs->calculate_report_gpa($course_data_semiII, $item->year_id, $item->stid, $item)) / 2)) }} @else {{ $srs->bachelor_schemeGPA_classification($srs->formatGPA(($srs->calculate_report_gpa($course_data, $item->year_id, $item->stid, $item) + $srs->calculate_report_gpa($course_data_semiII, $item->year_id, $item->stid, $item)) / 2)) }} @endif @else - @endif @endif @else {{ $srs->annualReportRemark($course_data, $course_data_semiII, $item->stid, $item->reg_no, $item->year_id, $courses->semester, $item->department_id, $item->program_id) }} @endif @endif


@endsection @section('scripts') {{-- --}} @endsection