@extends('layouts.master') @section('content')
avatar

{{$user->firstname.' '.$user->lastname}}

@if (!empty($user->employee))
Department: {{$user->employee->department->name}}
Employee ID : {{$user->employee->emp_id}}
Date of Join : {{format_date($user->employee->date_joined,'D M Y')}}
@endif
    @if (!empty($user->phone))
  • Phone:
  • @endif @if (!empty($user->email))
  • Email:
  • @endif @if (!empty($user->birthdate))
  • Birthday:
    {{format_date($user->birthdate,'D M Y')}}
  • @endif @if (!empty($user->address))
  • Address:
    {{$user->address}}
  • @endif @if (!empty($user->gender))
  • Gender:
    {{$user->gender}}
  • @endif

Personal Informations

  • Passport No.
    {{$employee->passport_no}}
  • Passport Exp Date.
    {{$employee->passport_expiry_date}}
  • Tel
  • Nationality
    {{$employee->nationality}}
  • Religion
    {{$employee->religion}}
  • Marital status
    {{$employee->marital_stat}}
  • Employment of spouse
    {{$employee->spouse_employement}}
  • No. of children
    {{$employee->no_of_children}}

Emergency Contact

Primary
  • Name
    {{$employee->emergency_contacts['primary']['name'] ?? ''}}
  • Relationship
    {{$employee->emergency_contacts['primary']['relationship']?? ''}}
  • Phone
    {{$employee->emergency_contacts['primary']['phone']?? ''}}, {{$employee->emergency_contacts['primary']['phone2'] ?? ''}}

Secondary
  • Name
    {{$employee->emergency_contacts['secondary']['name'] ?? ''}}
  • Relationship
    {{$employee->emergency_contacts['secondary']['relationship'] ?? ''}}
  • Phone
    {{$employee->emergency_contacts['secondary']['phone'] ?? ''}}, {{$employee->emergency_contacts['secondary']['phone2'] ?? ''}}

Bank information

    @if (!empty($employee->bank_information))
  • Bank name
    {{$employee->bank_information['bank_name']}}
  • Bank account No.
    {{$employee->bank_information['account_number']}}
  • Bank Branch
    {{$employee->bank_information['bank_branch']}}
  • Sort Code
    {{$employee->bank_information['sortcode']}}
  • IFSC Code
    {{$employee->bank_information['ifsc_code']}}
  • PAN No
    {{$employee->bank_information['pan_number']}}
  • @endif

Family Informations

@if (!empty($employee->family_information) && ($employee->family_information->count() > 0)) @foreach ($employee->family_information as $item) @endforeach @endif
Name Relationship Date of Birth Phone
{{$item['name']}} {{$item['relationship']}} {{format_date($item['birthdate'], 'M d, Y')}} {{$item['phone']}}

Education Informations

    @if(!empty($employee->education) && ($employee->education->count() > 0)) @foreach ($employee->education as $item)
  • {{$item['institution']}}
    {{$item['degree']}}
    {{format_date($item['date_started'],'d')}} - {{format_date($item['date_completed'],'d')}}
  • @endforeach @endif

Experience

    @if (!empty($employee->experience) && ($employee->experience->count() > 0)) @foreach ($employee->experience as $item)
  • {{$item['position']}} at {{$item['company']}} {{$item['started_on']}} - {{$item['ended_on']}}
  • @endforeach @endif
@if (!empty($employee->relatedProjects()) && ($employee->relatedProjects()->count() > 0)) @foreach ($employee->relatedProjects() as $project) @endforeach {{--

TEST

--}} @endif

Basic Salary Information

$

PF Information


ESI Information

@endsection @push('modals') @endpush @push('page-scripts') @endpush