{{ $userDetail->employee_code }}
{{ ucfirst($userDetail->email) }}
{{ __('index.user_detail') }}
{{ $userDetail->username }}
{{ ucfirst($userDetail->gender) }}
{{ ucfirst($userDetail->marital_status) }}
{{ ucfirst($userDetail->address) }}
{{ $userDetail->phone }}
{{ isset($userDetail->dob) ? \App\Helpers\AppHelper::formatDateForView($userDetail->dob) : '' }}
{{ $userDetail->role ? ucfirst($userDetail->role->name) : __('index.not_applicable') }}
{{ $userDetail->is_active == 1 ? __('index.yes') : __('index.no') }}
{{ __('index.office_detail') }}
{{ $userDetail->branch ? ucfirst($userDetail->branch->name) : __('index.not_applicable') }}
{{ $userDetail->department ? ucfirst($userDetail->department->dept_name) : __('index.not_applicable') }}
{{ $userDetail->post ? ucfirst($userDetail->post->post_name) : __('index.not_applicable') }}
{{ ucfirst($userDetail->employment_type) }}
{{ isset($userDetail->joining_date) ? \App\Helpers\AppHelper::formatDateForView($userDetail->joining_date) : __('index.not_applicable') }}
{{ $userDetail->workspace_type == 1 ? __('index.office') : __('index.home') }}
{{ __('index.account_detail') }}
{{ ucfirst($userDetail->accountDetail->bank_name ?? __('index.not_available')) }}
{{ $userDetail->accountDetail->bank_account_no ?? __('index.not_available') }}
{{ ucfirst($userDetail->accountDetail->bank_account_type ?? __('index.not_available')) }}
{{ ucfirst($userDetail->accountDetail->account_holder ?? __('index.not_available')) }}