@extends('layouts.school') @section('title', 'Teachers') @section('header', 'Teachers') @section('content')
| Name | Employee ID | Department | Qualification | Portal | Status |
|---|---|---|---|---|---|
|
@if ($teacher->photo)
|
{{ $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. | |||||