@extends('layouts.master') @section('title', 'All Request') @section('style') @endsection @section('content') @include('layouts.header') @include('layouts.title')
{{-- Match resources/views/setting/allrequestteaching.blade.php --}}
@yield('title')

{{-- Same menu and Faculty-position access rules as All Request / Teaching Load. --}} @include('setting.partials.workload_access_tabs', ['wmActive' => 'summary'])
{{-- School of อยู่คนละบรรทัดกับ Year / Semester / Status. --}}

{{-- Match the Teaching Load list: .table.datatable (not bordered/hover custom table). --}}
@forelse($requests as $i => $r) @empty {{-- Keep the tbody empty for DataTables compatibility (no colspan row). --}} @endforelse
No. Details School of Semester / Year Status Acknowledgement Manage
{{ $i + 1 }} Workload Table Summary
{{ $r->course_count }} courses / {{ $r->load_count }} approved Teaching Loads
{{ $r->school_name }} {{ $r->semester }} / {{ $r->year }} @if($r->status === 'Approved') Acknowledged by Head of School @else Waiting for Head of School Acknowledgement @endif @if($r->status === 'Approved') Acknowledged @else Waiting @endif
@if(count($requests) === 0)
No fully approved Teaching Load courses for this selection.
@endif
@include('layouts.footer') @endsection