@extends('layouts.school') @section('title', 'Teachers') @section('header', 'Teachers') @section('content')
@if (request()->filled('department')) @endif @if (request()->filled('campus_id')) @endif
+ Add Teacher
@forelse($teachers as $teacher) @empty @endforelse
Name Employee ID Department Qualification Portal Status
@if ($teacher->photo) @else {{ $teacher->initials }} @endif {{ $teacher->full_name }} {{ $teacher->employee_id }} {{ $teacher->department ?? '—' }} {{ $teacher->qualification ?? '—' }} @if ($teacher->user) {{ $teacher->user->is_active ? 'Enabled' : 'Disabled' }} @else No account @endif {{ $teacher->is_active ? 'Active' : 'Inactive' }}
No teachers found.
{{ $teachers->links() }}
@endsection