@extends('layouts.app') @section('content')

{{ $employee->full_name ?? $employee->first_name . ' ' . $employee->last_name }}

{{ $employee->position }}

@if($employee->status === 'active') Activated @elseif($employee->status === 'inactive') Inactive @else Terminated @endif Employee for {{ $employee->hire_date->diffForHumans(null, true) }}
{{ $employee->full_name ?? $employee->first_name . ' ' . $employee->last_name }}

{{ $employee->position }}

@if($employee->email) @endif @if($employee->phone) @endif
DEPARTMENT
{{ $employee->department }}
REPORTING TO
{{ $employee->reports_to ? 'Manager Name' : '-' }}

@if($employee->email && !$employee->user_id) @endif
EMAIL ADDRESS
Email
{{ $employee->email ?: '-' }}
PERSONAL INFO
Official Full Name
{{ $employee->full_name ?: ($employee->first_name . ' ' . $employee->last_name) }}
Preferred Name
{{ $employee->preferred_name ?: '-' }}
Phone Number
{{ $employee->phone ?: '-' }}
Gender
{{ $employee->gender ? ucfirst($employee->gender) : '-' }}
Date of Birth
{{ $employee->date_of_birth ? $employee->date_of_birth->format('Y-m-d') : '-' }}
Passport No.
{{ $employee->passport_no ?: '-' }}
NRIC No.
{{ $employee->nric_no ?: '-' }}
Highest Qualification
{{ $employee->highest_qualification ?: '-' }}
Nationality
{{ $employee->nationality ?: 'Malaysia' }}
Permanent Resident
{{ $employee->permanent_resident ? 'Yes' : 'No' }}
Marital Status
{{ $employee->marital_status ? ucfirst($employee->marital_status) : '-' }}
PERMANENT ADDRESS
Permanent address
{{ $employee->permanent_address ?: '-' }}
City
{{ $employee->permanent_city ?: '-' }}
Postcode
{{ $employee->permanent_postcode ?: '-' }}
Region
{{ $employee->permanent_region ?: '-' }}
Country
{{ $employee->permanent_country ?: '-' }}
CORRESPONDENCE ADDRESS
Correspondence address
{{ $employee->correspondence_address ?: '-' }}
City
{{ $employee->correspondence_city ?: '-' }}
Postcode
{{ $employee->correspondence_postcode ?: '-' }}
Region
{{ $employee->correspondence_region ?: '-' }}
Country
{{ $employee->correspondence_country ?: '-' }}
EMERGENCY CONTACT
Full Name
{{ $employee->emergency_contact_name ?: '-' }}
Phone Number
{{ $employee->emergency_contact_phone ?: '-' }}
Relationship
{{ $employee->emergency_contact_relationship ?: '-' }}
EMPLOYMENT INFORMATION
Employee No.
{{ $employee->employee_no ?: $employee->employee_id }}
Duration of Service
{{ $employee->hire_date->diffForHumans(null, true) }}
Date of Retirement / End of Contract
{{ $employee->date_of_retirement_end_contract ? $employee->date_of_retirement_end_contract->format('Y-m-d') : 'Not applicable' }}
Work Permit Expiry Date
{{ $employee->work_permit_expiry_date ? $employee->work_permit_expiry_date->format('Y-m-d') : '-' }}
Pay Group
{{ $employee->pay_group ?: '-' }}
Join Date
{{ $employee->join_date ? $employee->join_date->format('Y-m-d') : ($employee->hire_date ? $employee->hire_date->format('Y-m-d') : '-') }}
Location
{{ $employee->location ?: '-' }}
Cost Center
{{ $employee->cost_center ?: '-' }}
Work Permit No.
{{ $employee->work_permit_no ?: '-' }}
Employment Status
{{ $employee->status ? ucfirst($employee->status) : 'Active' }} {{ $employee->employment_type ? '- ' . ucwords(str_replace('_', ' ', $employee->employment_type)) : '' }}
Employment Type
{{ $employee->employment_type ? ucwords(str_replace('_', ' ', $employee->employment_type)) : '-' }}
Overtime (OT) Entitlement
@if($employee->not_entitled_to_ot) Not Entitled to OT @else Entitled to OT @endif
Position
{{ $employee->position ?: '-' }}
Returning Expert Program
{{ $employee->returning_expert_program ? 'Yes' : 'No' }}
Reports To
{{ $employee->reports_to ? 'Manager Name' : '-' }}
Functional Group
{{ $employee->functional_group ?: '-' }}
Subsidiary
{{ $employee->subsidiary ?: '-' }}
Employment Status Effective From
{{ $employee->employment_status_effective_from ? $employee->employment_status_effective_from->format('Y-m-d') : '-' }}
Employment Status Effective To
{{ $employee->employment_status_effective_to ? $employee->employment_status_effective_to->format('Y-m-d') : '-' }}
Position Level
{{ $employee->position_level ?: '-' }}
Department
{{ $employee->department ?: '-' }}
Knowledge Worker (at Specified Region)
{{ $employee->knowledge_worker_specified_region ? 'Yes' : 'No' }}
Notice Period (days)
{{ $employee->notice_period_days ?: '-' }}
ORGANIZATIONAL HISTORY

Job records in the current company

No Data

CAREER PROGRESSION

Job records before the current company

There's no career progression added yet

BANK DETAILS
Bank Name
{{ $employee->bank_name ?: '-' }}
Bank Account No.
{{ $employee->bank_account_no ?: '-' }}
Bank Account Type
{{ $employee->bank_account_type ? ucfirst($employee->bank_account_type) : 'Saving' }}
ASB Account No.
{{ $employee->asb_account_no ?: '-' }}
COMPENSATION DETAILS
Effective Date
{{ $employee->salary_effective_date ? $employee->salary_effective_date->format('Y-m-d') : '-' }}
Payment Method
{{ $employee->payment_method ? ucwords(str_replace('_', ' ', $employee->payment_method)) : 'Bank Transfer' }}
Salary Type / Pay Interval
{{ $employee->salary_type ? ucfirst($employee->salary_type) : 'Monthly' }}
Salary
{{ $employee->salary ? 'RM ' . number_format($employee->salary, 2) : 'RM 0.00' }}
Pay By Attendance
{{ $employee->pay_by_attendance ? 'Yes' : 'No' }}
Reason
{{ $employee->salary_reason ?: '-' }}

No compensation history available.

INCOME TAX INFORMATION
Income Tax Details
Pay Tax
{{ $employee->pay_tax ? 'Yes' : 'No' }}
Income Tax No.
{{ $employee->income_tax_no ?: '-' }}
Tax Borne By Employer
{{ $employee->tax_borne_by_employer ? 'Yes' : 'No' }}
Malaysian Tax Resident
{{ $employee->malaysian_tax_resident ? 'Yes' : 'No' }}
Spouse is Working
{{ $employee->spouse_is_working ? 'Yes' : 'No' }}
Disabled Person
{{ $employee->disabled_person ? 'Yes' : 'No' }}
Spouse is Disabled
{{ $employee->spouse_is_disabled ? 'Yes' : 'No' }}
LHDN State
{{ $employee->lhdn_state ?: '-' }}
Children
Children (Below 18 years)
{{ $employee->children_below_18 ?? 0 }}
Children in Tertiary Education (Above 18 years)
{{ $employee->children_tertiary_education_above_18 ?? 0 }}
Disabled Children in Tertiary Education (Above 18 years)
{{ $employee->disabled_children_tertiary_education ?? 0 }}
Disabled Children (Below 18 years)
{{ $employee->disabled_children_below_18 ?? 0 }}
Deductible Child Relief Point
{{ $employee->deductible_child_relief_point ? 'RM ' . number_format($employee->deductible_child_relief_point, 2) : 'NaN' }}
STATUTORY DEDUCTIONS AND CONTRIBUTIONS
EPF Details
Pay EPF
{{ $employee->pay_epf ? 'Yes' : 'No' }}
EPF Account No.
{{ $employee->epf_account_no ?: '-' }}
EPF Borne by Employer
{{ $employee->epf_borne_by_employer ? 'Yes' : 'No' }}
Employee EPF Rate
{{ $employee->employee_epf_rate ?? 11 }}%
Extra EPF On Top Of Normal Employer EPF
{{ $employee->extra_epf_on_top_normal_employer ?? 0 }}%
Extra EPF On Top Of Normal Employee EPF
{{ $employee->extra_epf_on_top_normal_employee ?? 0 }}%
SOCSO Details
Pay SOCSO
{{ $employee->pay_socso ? 'Yes' : 'No' }}
SOCSO Account No.
{{ $employee->socso_account_no ?: '-' }}
SOCSO Borne by Employer
{{ $employee->socso_borne_by_employer ? 'Yes' : 'No' }}
Zakat Details
Pay Zakat
{{ $employee->pay_zakat ? 'Yes' : 'No' }}
Zakat Account No.
{{ $employee->zakat_account_no ?: '-' }}
Zakat Amount
{{ $employee->zakat_amount ? 'RM ' . number_format($employee->zakat_amount, 2) : '0' }}
Human Resource Development Fund (HRDF) Details
Pay HRDF
{{ $employee->pay_hrdf ? 'Yes' : 'No' }}
Employment Insurance System (EIS) Details
EIS Borne by Employer
{{ $employee->eis_borne_by_employer ? 'Yes' : 'No' }}
PTPTN Details
Monthly PTPTN deduction
{{ $employee->monthly_ptptn_deduction ? 'RM ' . number_format($employee->monthly_ptptn_deduction, 2) : '-' }}
Start date of deduction
{{ $employee->ptptn_start_date ? $employee->ptptn_start_date->format('Y-m-d') : '-' }}
End date of deduction
{{ $employee->ptptn_end_date ? $employee->ptptn_end_date->format('Y-m-d') : '-' }}
ENTITLEMENTS
Annual
{{ $employee->annual_leave_balance ?? 12 }} out of {{ $employee->annual_leave_balance ?? 12 }} available
Sick
{{ $employee->sick_leave_balance ?? 14 }} out of {{ $employee->sick_leave_balance ?? 14 }} available
Hospitalization
{{ $employee->maternity_leave_balance ?? 60 }} out of {{ $employee->maternity_leave_balance ?? 60 }} available
Paternity
{{ $employee->paternity_leave_balance ?? 7 }} out of {{ $employee->paternity_leave_balance ?? 7 }} available
CarryForward
{{ $employee->carry_forward_leave_max ?? 10 }} out of {{ $employee->carry_forward_leave_max ?? 10 }} available
CARRY FORWARD LEAVE
Settings

Carry-forward balance info is the remaining days of carry-forward leave for the current leave year. This will be available for employee when you enable this feature at the Policy page.

Maximum available Carry Forward days: 10
FAMILY MEMBERS DETAILS
@php $familyMembers = $employee->family_members ?? []; @endphp @if(empty($familyMembers))

There are no family members added for this employee.

@else
@foreach($familyMembers as $member) @endforeach
Name Relationship Date of Birth Contact Actions
{{ $member['name'] ?? '-' }} {{ $member['relationship'] ?? '-' }} {{ $member['date_of_birth'] ?? '-' }} {{ $member['contact'] ?? '-' }}
@endif
NEXT OF KIN
Full Name
{{ $employee->next_of_kin_name ?: '-' }}
Relationship
{{ $employee->next_of_kin_relationship ?: '-' }}
Phone Number
{{ $employee->next_of_kin_phone ?: '-' }}
EMPLOYEE DOCUMENTS
No Documents Yet

Keep your info up to date by uploading new documents here

COMPANY ASSETS
No Assets Yet

Keep your company equipment up to date

You Had Not Assign Any Time Off
@endsection