@extends('admin.admin_dashboard') {{-- =================================== Custom CSS for Employee Profile Page =================================== --}} @section('customcss') @endsection {{-- =================================== Main Content Section =================================== --}} @section('admin')
{{-- Back Button --}}
{{-- =================================== Left Sidebar - Profile Card =================================== --}}
{{-- Employee Photo --}} Employee Photo {{-- Employee Name --}}

{{ $employee->name ?? 'N/A' }}

{{-- Employee Designation/Post --}}

{{ $employee->postDetails->name ?? 'Employee' }}

{{-- Employee Quick Details --}}
Primary ID: {{ $employee->primary_id ?? 'N/A' }} {{ $employee->phone ?? 'N/A' }} @if($employee->device_user_id) Device: {{ $employee->device_user_id }} @endif
{{-- Tab Navigation Buttons --}}
{{-- =================================== Right Content - Tab Content Area =================================== --}}
{{-- =================================== Profile Tab - COMPLETED =================================== --}}
{{-- Basic Information Section --}}
Basic Information
Full Name {{ $employee->name ?? 'N/A' }} Card Number {{ $employee->card_no ?? 'N/A' }}
Primary ID {{ $employee->primary_id ?? 'N/A' }} Secondary ID {{ $employee->e_id ?? 'N/A' }}
Post/Designation {{ $employee->postDetails->name ?? 'N/A' }} Primary Role {{ $employee->primary_role ?? 'N/A' }}
Nationality {{ $employee->nationality ?? 'N/A' }} Religion {{ $employee->religion ?? 'N/A' }}
Date of Birth @if(!empty($employee->dob)) {{ \Carbon\Carbon::parse($employee->dob)->format('d M, Y') }} ({{ \Carbon\Carbon::parse($employee->dob)->age }} years) @else N/A @endif Gender {{ ucfirst($employee->gender ?? 'N/A') }}
Blood Group {{ $employee->blood_group ?? 'N/A' }} National ID Number {{ $employee->nid_number ?? 'N/A' }}
Email Address {{ $employee->email ?? 'N/A' }} Mobile Number {{ $employee->phone ?? 'N/A' }}
Contact Phone {{ $employee->contact_phone ?? 'N/A' }} bKash Number {{ $employee->bkash_number ?? 'N/A' }}
Date of Joining {{ $employee->join_date ? \Carbon\Carbon::parse($employee->join_date)->format('d M, Y') : 'N/A' }} Device User ID {{ $employee->device_user_id ?? 'N/A' }}
Base Salary {{ $employee->base_salary ? number_format($employee->base_salary, 2) . ' BDT' : 'N/A' }} Status @if($employee->status == 1) Active @else Inactive @endif
Current Salary {{ $employee->salary ? number_format($employee->salary, 2) . ' BDT' : 'N/A' }} Agreement Document @if($employee->agreement_document) View Document @else N/A @endif
{{-- Experience & Qualification Section --}}
Experience & Qualification
Education {{ $employee->education ?? 'N/A' }}
Experience {{ $employee->experience ?? 'N/A' }}
Training History {{ $employee->training_history ?? 'N/A' }}
Previous Job Description {{ $employee->previous_job_description ?? 'N/A' }}
Other Skills {{ $employee->other_skill ?? 'N/A' }}
{{-- Address Information Section --}}
Address Information
{{-- Present Address --}}
Present Address
House/Street {{ $employee->present_house_street ?? 'N/A' }}
Post Office {{ $employee->present_post_office ?? 'N/A' }}
Police Station {{ $employee->present_police_station ?? 'N/A' }}
District {{ $employee->present_district ?? 'N/A' }}
Contact Number {{ $employee->present_contact_number ?? 'N/A' }}
{{-- Permanent Address --}}
Permanent Address
House/Street {{ $employee->permanent_house_street ?? 'N/A' }}
Post Office {{ $employee->permanent_post_office ?? 'N/A' }}
Police Station {{ $employee->permanent_police_station ?? 'N/A' }}
District {{ $employee->permanent_district ?? 'N/A' }}
Contact Number {{ $employee->permanent_contact_number ?? 'N/A' }}
{{-- Parents Information Section --}}
Parents Information
{{-- Father's Information --}}
Father's Information
@if($employee->father_late) Late @endif
Name {{ $employee->fathers_name ?? 'N/A' }}
Profession {{ $employee->fathers_profession ?? 'N/A' }}
Mobile {{ $employee->fathers_mobile_number ?? 'N/A' }}
NID Number {{ $employee->fathers_nid_number ?? 'N/A' }}
{{-- Mother's Information --}}
Mother's Information
@if($employee->mother_late) Late @endif
Name {{ $employee->mothers_name ?? 'N/A' }}
Profession {{ $employee->mothers_profession ?? 'N/A' }}
Mobile {{ $employee->mothers_mobile_number ?? 'N/A' }}
NID Number {{ $employee->mothers_nid_number ?? 'N/A' }}
{{-- Guardian Information Section --}} @if($employee->guardian_name)
Guardian Information
Guardian Details
Guardian Name {{ $employee->guardian_name ?? 'N/A' }} Relation with Employee {{ $employee->relation_with_teacher ?? 'N/A' }}
Profession {{ $employee->guardian_profession ?? 'N/A' }} Mobile Number {{ $employee->guardian_mobile_number ?? 'N/A' }}
NID Number {{ $employee->guardian_nid_number ?? 'N/A' }}
@endif {{-- Bank Information Section --}}
Bank Information
Bank Account Name {{ $employee->bank_account_name ?? 'N/A' }}
Bank Account Number {{ $employee->bank_account_number ?? 'N/A' }}
Bank Name {{ $employee->bank_name ?? 'N/A' }}
Bank Branch Name {{ $employee->bank_branch_name ?? 'N/A' }}
{{-- Account Information Section --}}
Account Information
Created Date {{ $employee->created_at ? $employee->created_at->format('d M, Y h:i A') : 'N/A' }}
Last Updated {{ $employee->updated_at ? $employee->updated_at->format('d M, Y h:i A') : 'N/A' }}
{{-- =================================== Notice Tab - UPCOMING =================================== --}}

Notice Section

This feature is coming soon. Stay tuned!

{{-- =================================== Events Tab - UPCOMING =================================== --}}

Events Section

This feature is coming soon. Stay tuned!

{{-- =================================== JavaScript for Tab Functionality =================================== --}} @endsection