@extends('layouts.app') @section('content')
{{ $teacher->user->email }}
{{ $teacher->user->is_active ? 'Active' : 'Inactive' }}| Employee Code: | {{ $teacher->employee_code }} |
|---|---|
| Department: | @if($teacher->department) {{ $teacher->department }} @else Not Set @endif |
| Join Date: | @if($teacher->joined_at) {{ $teacher->joined_at->format('M d, Y') }} @else N/A @endif |
| Username: | {{ $teacher->user->username }} |
|---|---|
| Phone: | {{ $teacher->user->phone ?? 'N/A' }} |
| Last Updated: | {{ $teacher->updated_at->format('M d, Y') }} |
{{ $teacher->bio }}
| Batch | Subject | Schedule | Weekly Hours | Next Class |
|---|---|---|---|---|
| {{ $class->batch->name ?? 'N/A' }} |
@if($class->subject)
{{ $class->subject->code ?? 'N/A' }} {{ $class->subject->title ?? 'N/A' }} @else No Subject @endif |
@if($class->schedule) {{ $class->schedule }} @else Not scheduled @endif | {{ $class->weekly_hours ?? 0 }} hrs/week | @if($class->class_date) {{ $class->class_date->format('M d, Y') }} @else No date set @endif |
No active classes assigned.
@endifNo recent classes found.
@endifNo upcoming classes.
@endif