@extends('layouts.master') @section('title', 'Teaching Load Preview') @section('content')
{{-- ===================================================== --}} {{-- PAGE TITLE --}} {{-- ===================================================== --}}

Teaching Load Preview

Please review all information before sending it for approval.

{{-- ===================================================== --}} {{-- CONTRACT INFORMATION --}} {{-- ===================================================== --}}
Workload Information
Academic Year
{{ $adcontract_value->adcontract_value_year }}
Semester
{{ $adcontract_value->adcontract_value_semester }}
Contract No.
{{ $adcontract_value->adcontract_no ?? '-' }}
Arrangement Type
{{ $adcontract_value->adposition_type_name ?? '-' }}
Faculty Member
{{ $faculty->faculty_title ?? '' }} {{ $faculty->faculty_firstname ?? '' }} {{ $faculty->faculty_lastname ?? '' }}
School
{{ $faculty->school_name ?? '-' }}
{{-- ===================================================== --}} {{-- 1. TEACHING LOAD --}} {{-- ===================================================== --}}

1. Teaching Load

a) Lecture
=
12 Credits, 24 Hours/Week
TOR
=
12 Credits, 24 Hours/Week
{{-- ================================================= --}} {{-- 1a Lecture --}} {{-- ================================================= --}} @foreach([1,2,3] as $semester) @php $rows = $lecture[$semester] ?? collect(); @endphp
Academic Year {{ $adcontract_value->adcontract_value_year }} - Semester {{ $semester }}
@forelse($rows as $key => $row) @empty @endforelse
No. Course No. Course Portions (%) Sec.No. No. of Students No. of Weeks Lecture (Hr/Wk) Credits Contact (Hr/Wk) Source
{{ $key + 1 }} {{ $row->course_code }} {{ $row->course_name }} {{ $row->course_portions }} {{ $row->course_section }} {{ $row->course_student }} {{ $row->course_week }} {{ $row->course_lecture }} {{ $row->course_credit }} {{ $row->course_contact }} @if(($row->source ?? 'AUTO') == 'AUTO') AUTO @else MANUAL @endif
No lecture data.
@endforeach
{{-- ================================================= --}} {{-- 1b Laboratory --}} {{-- ================================================= --}}
b) Laboratory
@foreach([1,2,3] as $semester) @php $rows = $laboratory[$semester] ?? collect(); @endphp
Academic Year {{ $adcontract_value->adcontract_value_year }} - Semester {{ $semester }}
@forelse($rows as $key => $row) @empty @endforelse
No. Course No. Course Portions (%) Sec.No. No. of Students No. of Lecturers Lab.&Lect (Hr/Wk) Credits Contact (Hr/Wk) Source
{{ $key + 1 }} {{ $row->course_code }} {{ $row->course_name }} {{ $row->course_portions }} {{ $row->course_section }} {{ $row->course_student }} {{ $row->course_lab_lect }} {{ $row->course_week }} {{ $row->course_credit }} {{ $row->course_contact }} @if(($row->source ?? 'AUTO') == 'AUTO') AUTO @else MANUAL @endif
No laboratory data.
@endforeach
{{-- ===================================================== --}} {{-- 2. SUPERVISION --}} {{-- ===================================================== --}}

2. Supervision of Senior Project / Extended Training / Special Problems / Selected Topic / Others

{{-- ================================================= --}} {{-- 2a Senior --}} {{-- ================================================= --}}
a) Senior Project / Extended Training Requirement
@foreach([1,2,3] as $semester) @php $rows = $senior[$semester] ?? collect(); @endphp
Semester {{ $semester }}
@forelse($rows as $key => $row) @empty @endforelse
No. Course No. Course No. of Students Credits Contact (Hr/Wk) Source
{{ $key + 1 }} {{ $row->senior_course_code }} {{ $row->senior_course_name }} {{ $row->senior_student_no }} {{ $row->senior_credits }} {{ $row->senior_contact }} @if(($row->source ?? 'AUTO') == 'AUTO') AUTO @else MANUAL @endif
No Senior Project data.
@endforeach
{{-- ================================================= --}} {{-- 2b Supervision --}} {{-- ================================================= --}}
b) Supervision for Master and Doctoral Students
@foreach([1,2,3] as $semester) @php $rows = $supervision[$semester] ?? collect(); @endphp
Semester {{ $semester }}
@forelse($rows as $key => $row) @empty @endforelse
No. Student Code Name Level No. of Students Credits Contact (Hr/Wk) Source
{{ $key + 1 }} {{ $row->supervision_student_code }} {{ $row->supervision_title }} {{ $row->supervision_fullname }} {{ $row->supervision_level }} {{ $row->supervision_student_no }} {{ $row->supervision_credits }} {{ $row->supervision_contact }} @if(($row->source ?? 'AUTO') == 'AUTO') AUTO @else MANUAL @endif
No supervision data.
@endforeach
{{-- ===================================================== --}} {{-- 3. INTERNAL COMMITTEES --}} {{-- ===================================================== --}}

3. Internal Committees

@forelse($committee as $key => $row) @empty @endforelse
No. Committee File
{{ $key + 1 }} {{ $row->ic_name ?? $row->ic_committee_name ?? $row->ic_title ?? '-' }} @php $file = $row->ic_file ?? $row->ic_document ?? null; @endphp @if($file) View File @else - @endif
No Internal Committees found.
{{-- ===================================================== --}} {{-- 4. TIMETABLE --}} {{-- ===================================================== --}}

4. Timetable

@foreach([1,2,3] as $semester) @php $rows = $timetable[$semester] ?? collect(); @endphp
Academic Year {{ $adcontract_value->adcontract_value_year }} - Semester {{ $semester }}
@forelse($rows as $key => $row) @empty @endforelse
No. Course No. Course Teaching Type Day Time Room Activity Source
{{ $key + 1 }} {{ $row->timetable_course_code }} {{ $row->timetable_course_name }} {{ $row->timetable_teaching_type }} {{ $row->timetable_date }} {{ substr( $row->timetable_time_start, 0, 5 ) }} - {{ substr( $row->timetable_time_end, 0, 5 ) }} {{ $row->timetable_room }} {{ $row->timetable_activity }} @if(($row->source ?? 'AUTO') == 'AUTO') AUTO @else MANUAL @endif
No timetable data.
@endforeach
{{-- ===================================================== --}} {{-- ACTION --}} {{-- ===================================================== --}}
{{-- Back --}} Back to Edit {{-- Send Approve --}}
@csrf
@endsection