{{--

PRINT COURSES

--}}
@if ($clicked)
@if (($this->departmentStudent->school_id != 12) && ($this->departmentStudent->school_id != 11)) @forelse ($subsidiaries as $department) @include('forms.courseDisplayHeader') {{-- FIRST SEMESTER COURSES --}} @include('forms.courseFirst') {{-- SECOND SEMESTER COURSES --}} @include('forms.courseSecond') @empty
No course Added...
@endforelse @endif {{-- Faculty of Vetenery Medicine --}} @if ($this->departmentStudent->school_id == 11) @include('forms.veteneryMedicineFirst') @include('forms.veteneryMedicineSecond') @endif {{-- Faculty of Pharmacy --}} @if ($this->departmentStudent->school_id == 12) @include('forms.pharmacyFirst') @include('forms.pharmacySecond') @endif {{-- check if elective yes --}} @forelse ($subsidiaries as $department) @if ($electiveFirstCourse) @include('forms.electiveCourseFirst') @endif {{-- Second semester elective --}} @if ($electiveSecondCourse) @include('forms.electiveCourseSecond') @endif @empty @endforelse {{-- failed courses --}} @include('forms.studentFailedCourses')
@endif
@if (!$clicked) {{--
@foreach ($subsidiaries as $department) @include('forms.courseDisplayHeader') @endforeach
@foreach ($studentCourses as $firstSemester) @foreach ($firstSemester->courseStudent as $courses) @if ($courses->pivot->offering_semester === 'FIRST') @endif @endforeach @endforeach
FIRST SEMESTER COURSES
{{ $courses->course_code ?? ''}} {{ $courses->course_title ?? ''}} {{ $courses->units ?? ''}}
Total Units {{ $this->sumFirstUnit($courses->units) ?? ''}}

--}}
@foreach ($subsidiaries as $department)
UNIVERSITY OF MAIDUGURI
(Student Course Registration)
NAME: {{ $this->student->fullname }}
ID. NUMBER: {{ $this->student->student_id_number }}
{{ $department->school->school_title}} @if (($department->dept_title === 'COMPUTER SCIENCE') || ($department->dept_title === 'MATHEMATICS') || ($department->dept_title === 'STATISTICS'))
DEPARTMENT: MATHEMATICAL SCIENCE
@elseif(($department->dept_title === 'PHYSICAL EDUCATION') || ($department->dept_title === 'HEALTH EDUCATION'))
DEPARTMENT: PHYSICAL AND HEALTH EDUCATION
@elseif(($department->dept_title === 'BOTANY') || ($department->dept_title === 'ZOOLOGY') || ($department->dept_title === 'ENVIRONMENTAL BIOLOGY'))
DEPARTMENT: BIOLOGICAL SCIENCE
@elseif(($department->dept_title === 'CHEMISTRY') || ($department->dept_title === 'INDUSTRIAL CHEMISTRY') || ($department->dept_title === 'PETROLEUM CHEMISTRY'))
DEPARTMENT: PURE AND APPLIED CHEMISTRY
@elseif(($department->dept_title === 'FACULTY OF VETERINARY MEDICINE'))
DEPARTMENT: VETERINARY MEDICINE
@else
DEPARTMENT: {{ $department->dept_title}}
@endif
{{-- student Details --}}
PROGRAM: {{ $department->dept_title}}
LEVEL: {{ $this->student->level }}
SESSION: {{ Carbon\Carbon::parse($start_session->start_at)->year }} / {{ Carbon\Carbon::parse($start_session->end_at)->year }}
@endforeach
@foreach ($studentCourses as $firstSemester) @foreach ($firstSemester->courseStudent as $courses) @if ($courses->pivot->offering_semester === 'FIRST') @endif @endforeach @endforeach
FIRST SEMESTER COURSES
{{ $courses->course_code ?? ''}} {{ $courses->course_title ?? ''}} {{ $courses->units ?? ''}}
Total Units {{ $this->sumFirstUnit($courses->units) ?? ''}}
@foreach ($studentCourses as $firstSemester) @foreach ($firstSemester->courseStudent as $courses) @if ($courses->pivot->offering_semester === 'SECOND') @endif @endforeach @endforeach
SECOND SEMESTER COURSES
{{ $courses->course_code ?? ''}} {{ $courses->course_title ?? ''}} {{ $courses->units ?? ''}}
Total Units {{ $this->sumSecondUnit($courses->units) ?? ''}}
Student's Signature:..........................................................................................................................................
HOD's Signature:................................................................................................................................................
Registrar's Signature:........................................................................................................................................

@endif
{{-- && ($studentToken->AmountRRR >= $studentToken->posted_amount) --}} @if(($clicked) ) @if ($this->departmentStudent->school_id === 11) {{ __('Confirm') }} @elseif($this->departmentStudent->school_id === 12) {{ __('Confirm') }} @else {{ __('Confirm') }} @endif @endif {{-- @if(($clicked) && (($studentToken->AmountRRR < $studentToken->posted_amount)))
Report to the Bursary
@endif --}}