@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $navGroups = \App\Support\Navigation\TeacherNav::groups('profile'); @endphp @if(! $teacher)
No teacher profile is linked to your account yet. Contact an administrator to have your teacher record connected.
@else

Teacher Details

Designation
{{ $teacher->designation ?? '—' }}
Joining Date
{{ $teacher->joining_date?->format('M j, Y') ?? '—' }}
Status
{{ str_replace('_', ' ', ucfirst($teacher->status)) }}
Branch
{{ $teacher->branch->name }}
Department
{{ $teacher->department?->name ?? '—' }}
Phone
{{ $teacher->phone ?? '—' }}
Email
{{ $teacher->email ?? '—' }}
@if($teacher->employee)

HR Record

Employee Code: {{ $teacher->employee->employee_code }}

@endif

Class Teacher Of

@if($teacher->classTeacherSections->isEmpty())

Not assigned as class/homeroom teacher for any section.

@else
    @foreach($teacher->classTeacherSections as $section)
  • {{ $section->schoolClass->name }} - {{ $section->name }}
  • @endforeach
@endif

My Timetable

Full view →
@endif