@extends('layouts.app') @php $pageTitle = 'Teachers'; @endphp @section('content')
| Employee No. | Name | Faculty / Grade | Contact | Weekly Load | Current Room | Status | Assignment |
|---|---|---|---|---|---|---|---|
| {{ $teacher->employee_number }} |
{{ $teacher->full_name }}
{{ $teacher->email ?: 'No email provided' }}
|
{{ $teacher->gradeLevel?->name ?? '—' }} | {{ $teacher->contact_number ?: '—' }} | {{ number_format((float) $item['assigned_hours'], 2) }} hours |
@if ($item['current_schedule'])
{{ $item['current_room_name'] }}
@else
No active class
@endif
{{ $item['current_room_meta'] }}
|
{{ $teacher->is_active ? 'Active' : 'Inactive' }} | |
| No teacher records found. | |||||||
| No teachers match your search. | |||||||