{{--

PRINT COURSES

--}}
@if ($student_level)

Print this invoice!
Reload Page
@endif
@forelse ($subsidiaries as $department)
UNIVERSITY OF MAIDUGURI
{{ $department->school->school_title}}
@if (($department->dept_title === 'COMPUTER SCIENCE') || ($department->dept_title === 'MATHEMATICS') || ($department->dept_title === 'STATISTICS'))
DEPARTMENT OF MATHEMATICAL SCIENCE
PROGRAM OF {{ $department->dept_title}}
@elseif(($department->dept_title === 'PHYSICAL EDUCATION') || ($department->dept_title === 'HEALTH EDUCATION'))
DEPARTMENT OF PHYSICAL AND HEALTH EDUCATION
PROGRAM OF {{ $department->dept_title}}
@elseif(($department->dept_title === 'BOTANY') || ($department->dept_title === 'ZOOLOGY') || ($department->dept_title === 'ENVIRONMENTAL BIOLOGY'))
DEPARTMENT OF BIOLOGICAL SCIENCE
PROGRAM OF {{ $department->dept_title}}
@elseif(($department->dept_title === 'CHEMISTRY') || ($department->dept_title === 'INDUSTRIAL CHEMISTRY') || ($department->dept_title === 'PETROLEUM CHEMISTRY'))
DEPARTMENT OF PURE AND APPLIED CHEMISTRY
PROGRAM OF {{ $department->dept_title}}
@else
DEPARTMENT OF {{ $department->dept_title}}
@endif
{{-- student Details --}}
{{--
DEPARTMENT: {{ $this->stdId->department->dept_title }}
--}}
NAME: {{ $this->stdId->fullname }}
ID NUMBER: {{ $this->stdId->student_id_number }}
LEVEL: {{ $this->stdId->level }}
SESSION: 2020 / 2021
{{-- first semester --}} @if (!$student_level) FIRST SEMESTER COURSES Code Title Units {{-- Mode Elective Pre-Req. --}} Semester {{-- Level --}} @forelse($department->student_subsidiries as $course) @if(($course->pivot->level == $stdId->level) && ($course->pivot->semester_offer === 'FIRST') && ($course->elective != 'Elective')) {{ $course->course_code }} {{-- bg-{{ $transaction->status_color }}-100 text-{{ $transaction->status_color }}-800 --}} {{ $course->course_title }} {{ $course->units }} {{ $course->pivot->semester_offer }} {{-- {{ $course->pivot->level }} --}} @endif {{-- @if ($loop->last) Total Units {{ $department->student_subsidiries->sum('units') }} @endif --}} @empty @endforelse SECOND SEMESTER COURSES {{-- --}} Code Title Units Semester {{-- Level --}} {{-- second semester --}} @forelse($department->student_subsidiries as $course) @if(($course->pivot->level == $stdId->level) && ($course->pivot->semester_offer === 'SECOND') && ($course->elective != 'Elective')) {{ $course->course_code }} {{-- bg-{{ $transaction->status_color }}-100 text-{{ $transaction->status_color }}-800 --}} {{ $course->course_title }} {{ $course->units }} {{ $course->pivot->semester_offer }} @endif {{-- @if ($loop->last) Total Units {{ $department->student_subsidiries->sum('units') }} @endif --}} @empty @endforelse {{-- check if elective yes --}} {{-- first semester elective --}} FIRST SEMESTER ELECTIVES {{-- --}} Code Title Units Semester {{-- Level --}} @forelse($department->student_subsidiries as $course) @if(($course->pivot->level == $stdId->level) && ($course->pivot->semester_offer === 'FIRST') && ($course->elective === 'Elective')) {{ $course->course_code }} {{-- bg-{{ $transaction->status_color }}-100 text-{{ $transaction->status_color }}-800 --}} {{ $course->course_title }} {{ $course->units }} {{-- {{ $course->pivot->semester_offer }} --}} @if ($course->elective) @endif @endif @empty @endforelse {{-- Second semester elective --}} SECOND SEMESTER ELECTIVES {{-- --}} Code Title Units Semester {{-- Level --}} @forelse($department->student_subsidiries as $course) @if(($course->pivot->level == $stdId->level) && ($course->pivot->semester_offer === 'SECOND') && ($course->elective === 'Elective')) {{ $course->course_code }} {{-- bg-{{ $transaction->status_color }}-100 text-{{ $transaction->status_color }}-800 --}} {{ $course->course_title }} {{ $course->units }} {{-- {{ $course->pivot->semester_offer }} --}} @if ($course->elective) @endif @endif @empty @endforelse {{-- end check --}} @else @livewire('student.student-course-display') @endif @empty
No course Added...
@endforelse
@if (!$student_level) {{ __('Confirm') }} @else {{ __('Continue') }} @endif