@extends('admin.layout.app') @section('title', __('admin.teacher_details')) @section('body')

{{ $teacher->name }}

{{ __('admin.id') }}: {{ $teacher->id }} {{ $teacher->email }} @if($teacher->department) {{ $teacher->department }} @endif
{{-- Personal Info --}}
{{ __('admin.personal_information') }}
{{ __('admin.full_name') }} {{ $teacher->name }}
{{ __('admin.father_s_name') }} {{ $teacher->father_name ?? '—' }}
{{ __('admin.date_of_birth') }} {{ $teacher->dob }}
{{ __('admin.gender') }} {{ $teacher->gender ? ucfirst($teacher->gender) : '—' }}
{{ __('admin.tazkira_no') }} {{ $teacher->tazkira_no ?? '—' }}
{{-- Contact Info --}}
{{ __('admin.contact_information') }}
{{ __('admin.email') }} {{ $teacher->email }}
{{ __('admin.phone') }} {{ $teacher->phone ?? '—' }}
{{ __('admin.country') }} {{ $teacher->country ?? '—' }}
{{ __('admin.address') }} {{ $teacher->address ?? '—' }}
{{-- Professional Info --}}
{{ __('admin.professional_information') }}
{{ __('admin.department') }} {{ $teacher->department ?? '—' }}
{{ __('admin.qualification') }} {{ $teacher->qualification ?? '—' }}
{{ __('admin.specialization') }} {{ $teacher->specialization ?? '—' }}
{{ __('admin.joining_date') }} {{ $teacher->joining_date }}
{{-- Account Info --}}
Employment & Payroll
Employee type {{ $teacher->employee_type ? ucfirst($teacher->employee_type) : '—' }}
Employment type {{ $teacher->employment_type ?? '—' }}
Salary type {{ $teacher->salary_type ? ucfirst($teacher->salary_type) : '—' }}
Rates Monthly {{ number_format((float) $teacher->monthly_salary, 2) }} / Daily {{ number_format((float) $teacher->daily_rate, 2) }} / Hourly {{ number_format((float) $teacher->hourly_rate, 2) }}
Bank/payment {{ $teacher->bank_account ?? '—' }}
Contract {{ $teacher->contract_start_date ?: '—' }} - {{ $teacher->contract_end_date ?: '—' }}
Status {{ ucfirst(str_replace('_',' ', $teacher->employment_status ?? 'active')) }}
Notes {{ $teacher->payroll_notes ?? '—' }}
{{ __('admin.account_information') }}
{{ __('admin.created_at') }} {{ $teacher->created_at?->format('Y-m-d H:i') }}
{{ __('admin.updated_at') }} {{ $teacher->updated_at?->format('Y-m-d H:i') }}
{{ __('admin.status') }} {{ __('admin.active') }}
@endsection