@extends('admin.layout.main') @section('content')
@php $baseUrl = env('API_URL_FOR_IMAGE'); @endphp @if (isset($employee['user_profile']['image'])) Employee Image @else Default Image @endif

Employee

Full Name :
{{ $employee['user_profile']['user']['name'] ?? 'N/A' }}

Email :
{{ $employee['user_profile']['user']['email'] ?? 'N/A' }}

Phone :
{{ $employee['user_profile']['phone'] ?? 'N/A' }}

Department :
{{ $employee['department']['department'] ?? 'N/A' }}

Designation :
{{ $employee['designation']['designation'] ?? 'N/A' }}

Gender :
{{ $employee['user_profile']['gender'] ?? 'N/A' }}


Education

Institute Name :

{{ $employee['education']['institute_name'] ?? 'N/A' }}

Last Degree :

{{ $employee['education']['last_degree'] ?? 'N/A' }}

Campus

{{ $employee['education']['campus'] ?? 'N/A' }}

Session Start :

{{ $employee['education']['session_start'] ?? 'N/A' }}

Session End :

{{ $employee['education']['session_end'] ?? 'N/A' }}

Attached File:
@if (isset($employee['education']['attach_file'])) Employee Image @else

N/A

@endif
@if (isset($employee['education']))
@csrf
@error('institute_name') {{ $message }} @enderror
@error('last_degree') {{ $message }} @enderror
@error('campus') {{ $message }} @enderror
@error('session_start') {{ $message }} @enderror
@error('session_end') {{ $message }} @enderror
(File must be a type of png,jpg,jpeg) @error('attach_file') {{ $message }} @enderror
@else
@csrf
@error('institute_name') {{ $message }} @enderror
@error('last_degree') {{ $message }} @enderror
@error('campus') {{ $message }} @enderror
@error('session_start') {{ $message }} @enderror
@error('session_end') {{ $message }} @enderror
(File must be a type of png,jpg,jpeg) @error('attach_file') {{ $message }} @enderror
@endisset

Work Experience

Company Name :

{{ $employee['work_history']['company_name'] ?? 'N/A' }}

Designation :

{{ $employee['work_history']['designation'] ?? 'N/A' }}

Joining Date :

{{ $employee['work_history']['joining_date'] ?? 'N/A' }}

Leaving Date :

{{ $employee['work_history']['leaving_date'] ?? 'N/A' }}

Reason:

{{ $employee['work_history']['reason'] ?? 'N/A' }}

@if (isset($employee['work_history']))
@csrf @method('PUT')
@error('company_name') {{ $message }} @enderror
@error('designation') {{ $message }} @enderror
@error('joining_date') {{ $message }} @enderror
@error('leaving_date') {{ $message }} @enderror
@error('reason') {{ $message }} @enderror
@else
@csrf
@error('company_name') {{ $message }} @enderror
@error('designation') {{ $message }} @enderror
@error('joining_date') {{ $message }} @enderror
@error('leaving_date') {{ $message }} @enderror
@error('reason') {{ $message }} @enderror
@endif

Security

@csrf

Update Password

@endsection