@if($teacher)
Teacher Code
{{ $teacher->teacher_code ?? 'N/A' }}
Name
{{ $teacher->name ?? 'N/A' }}
Email
{{ $teacher->email ?? 'N/A' }}
Phone
{{ $teacher->phone ?? 'N/A' }}
Nationality
{{ $teacher->nationality ?? 'N/A' }}
Religion
{{ $teacher->religion ?? 'N/A' }}
Gender
{{ $teacher->gender ?? 'N/A' }}
Blood Group
{{ $teacher->blood_group ?? 'N/A' }}
Date of Birth
{{ $teacher->dob ? \Carbon\Carbon::parse($teacher->dob)->format('d M, Y') : 'N/A' }}
NID Number
{{ $teacher->nid_number ?? 'N/A' }}
Primary Subject
{{ $teacher->primary_subject ?? 'N/A' }}
Education
{{ $teacher->education ?? 'N/A' }}
Experience
{{ $teacher->experience ?? 'N/A' }}
Previous Job
{{ $teacher->previous_job_description ?? 'N/A' }}
Training History
{{ $teacher->training_history ?? 'N/A' }}
Other Skills
{{ $teacher->other_skill ?? 'N/A' }}
Base Salary
{{ $teacher->base_salary ? '৳ ' . number_format($teacher->base_salary, 2) : 'N/A' }}
Date of Joining
{{ $teacher->date_of_joining ? \Carbon\Carbon::parse($teacher->date_of_joining)->format('d M, Y') : 'N/A' }}
Father's Information
Father's Name
{{ $teacher->fathers_name ?? 'N/A' }}
Profession
{{ $teacher->fathers_profession ?? 'N/A' }}
NID Number
{{ $teacher->fathers_nid_number ?? 'N/A' }}
Mobile
{{ $teacher->fathers_mobile_number ?? 'N/A' }}
Mother's Information
Mother's Name
{{ $teacher->mothers_name ?? 'N/A' }}
Profession
{{ $teacher->mothers_profession ?? 'N/A' }}
NID Number
{{ $teacher->mothers_nid_number ?? 'N/A' }}
Mobile
{{ $teacher->mothers_mobile_number ?? 'N/A' }}
Present Address
House/Street
{{ $teacher->present_house_street ?? 'N/A' }}
Post Office
{{ $teacher->present_post_office ?? 'N/A' }}
Police Station
{{ $teacher->present_police_station ?? 'N/A' }}
District
{{ $teacher->present_district ?? 'N/A' }}
Contact
{{ $teacher->present_contact_number ?? 'N/A' }}
Permanent Address
House/Street
{{ $teacher->permanent_house_street ?? 'N/A' }}
Post Office
{{ $teacher->permanent_post_office ?? 'N/A' }}
Police Station
{{ $teacher->permanent_police_station ?? 'N/A' }}
District
{{ $teacher->permanent_district ?? 'N/A' }}
Contact
{{ $teacher->permanent_contact_number ?? 'N/A' }}
Contact Phone
{{ $teacher->contact_phone ?? 'N/A' }}
bKash Number
{{ $teacher->bkash_number ?? 'N/A' }}
Bank Name
{{ $teacher->bank_name ?? 'N/A' }}
Bank Branch
{{ $teacher->bank_branch_name ?? 'N/A' }}
Account Name
{{ $teacher->bank_account_name ?? 'N/A' }}
Account Number
{{ $teacher->bank_account_number ?? 'N/A' }}
@else
Teacher information not found. Please contact administrator.
@endif
Personal Information
Full Name
{{ Auth::user()->name }}
Email/Username
{{ Auth::user()->email }}
Phone
{{ Auth::user()->phone ?? 'N/A' }}
NID
{{ Auth::user()->nid ?? 'N/A' }}
Date of Birth
{{ Auth::user()->dob ? Auth::user()->dob->format('d M, Y') : 'N/A' }}
Address
{{ Auth::user()->address ?? 'N/A' }}
Role
{{ Auth::user()->getRoleNames()->implode(', ') }}
Status
@if(Auth::user()->status == 'active')
Active
@else
Inactive
@endif
Your Trusted Devices
These are the devices where you can login without OTP verification.
@if(Auth::user()->devices->count() > 0)
@foreach(Auth::user()->devices as $device)
{{ $device->device_name ?? 'Unknown Device' }}
Browser: {{ $device->browser ?? 'Unknown' }}
Platform: {{ $device->platform ?? 'Unknown' }}
IP: {{ $device->ip_address ?? 'Unknown' }}
Last Used: {{ $device->last_used_at ? $device->last_used_at->diffForHumans() : 'Never' }}
@if($device->is_trusted)
Trusted
@else
Not Trusted
@endif
@endforeach
@else
No trusted devices found. When you login from a new device, it will appear here after OTP verification.
@endif