@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; $statusColors = ['active' => 'green', 'on_leave' => 'amber', 'inactive' => 'slate']; @endphp
@forelse($teachers as $teacher) @empty @endforelse
SL Teacher Designation Branch Class / Subject Login Status
{{ $loop->iteration }}
@if($teacher->photo_path) {{ $teacher->fullName() }} @else @endif
{{ $teacher->fullName() }} {{ $teacher->teacher_code }}
{{ $teacher->designation ?? '—' }} {{ $teacher->branch->name }} @if($teacher->classTeacherSections->isNotEmpty()) @foreach($teacher->classTeacherSections as $section) {{ $section->schoolClass->name }} {{ $section->name }} · Class Teacher @endforeach @endif @if($teacher->computed_subjects_taught->isNotEmpty())
@foreach($teacher->computed_subjects_taught as $offering) {{ $offering->subject->name }} — {{ $offering->section->schoolClass->name }} {{ $offering->section->name }} @endforeach
@endif @if($teacher->classTeacherSections->isEmpty() && $teacher->computed_subjects_taught->isEmpty()) — @endif
{{ $teacher->user ? 'Active' : 'None' }} {{ str_replace('_', ' ', ucfirst($teacher->status)) }}
No teachers yet.
@csrf

Link this teacher to an existing Employee record for payroll/leave. Selecting one will fill in the fields below from their HR record — feel free to adjust them afterward.

Photo preview Current photo

JPG or PNG. Max 2MB.

Signature preview Current signature

Used on class routines and other documents where this teacher signs as Class Teacher. PNG with a transparent background works best.