@extends('home.partial.layout') @section('content') @can('employee_link')

Profile

@if (session()->has('success'))
{{ session('success') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{$data->name}} {{$data->lname}}

{{$data->designation_name ? $data->designation_name : 'Designation missing'}}
{{$data->department_name ? $data->department_name : 'Department name missing'}}
Employee ID : {{$data->employee_no}}
Date of Join : {{$data->joiningdate ? date('jS M Y', strtotime($data->joiningdate)): 'Date not added'}}
@can('profile-update')
@endcan

Employee Information @can('profile-update') @endcan

  • Employee No.
    {{$data->employee_id ? $data->employee_no : '----------'}}
  • Employee Name
    {{$data->employee_id ? $data->name : '----------'}} {{$data->lname}}
  • QID
  • QID Expiry
    {{$data->qidexpiry ? date('jS M Y', strtotime($data->qidexpiry)): '----------'}}
  • Passport No.
    {{$data->passportno ? $data->passportno : '----------'}}
  • Passport Expiry
    {{$data->passportexpiry ? date('jS M Y', strtotime($data->passportexpiry)): '----------'}}
  • Gender
    {{$data->gender ? $data->gender : '----------'}}
  • DOB
    {{$data->dob ? date('jS M Y', strtotime($data->dob)): '----------'}}
  • Age
    {{$data->age ? \Carbon\Carbon::parse($data->dob)->diff(date('Y-m-d'))->format('%y') : '----------'}}
  • Marital Satus
    {{$data->marital_status ? $data->marital_status : '----------'}}
  • Email Address
  • School Shift
    {{$data->shift_name ? $data->shift_name : '----------'}}
  • Date of Joining
    {{$data->joiningdate ? date('jS M Y', strtotime($data->joiningdate)): '----------'}}
  • End of Probation
    {{$data->end_probation ? date('jS M Y', strtotime($data->end_probation)): '----------'}}
  • Contract Type
    {{$data->contract_type_name ? $data->contract_type_name : '----------'}}
  • Contract Length
    {{$data->contract_length ? $data->contract_length : '----------'}}
  • End of Contract Date
    {{$data->end_contract ? date('jS M Y', strtotime($data->end_contract)): '----------'}}
  • Service Years
  • Current Position
    {{$data->designation_name ? $data->designation_name : '----------'}}
  • Current Department
    {{$data->department_name ? $data->department_name : '----------'}}
  • Nationality
    {{$data->country_name ? $data->country_name : '----------'}}
  • Primary Contact No:
    {{$data->mobile1_code ? '+'. $data->mobile1_code : ''}} {{$data->mobile1 ? $data->mobile1 : '----------'}}
  • Secondary Contact No:
    {{$data->mobile2_code ? '+'. $data->mobile1_code : ''}} {{$data->mobile2 ? $data->mobile2 : '----------'}}
  • Sponsorship Status
  • Relevent Degree
    {{$data->relevant_degree_name ? $data->relevant_degree_name : '----------'}}
  • Degree Details
    {!! $data->degree_details ? nl2br($data->degree_details) : '----------' !!}
  • Degree Attestation Status
    {{$data->degree_attest_status ? degreeAttestationStatus($data->degree_attest_status) : '----------'}}
  • Other Qualifications
    @if($data->other_qualifications)
    @foreach(unserialize($data->other_qualifications) as $other_qualification) {{$other_qualification}}
    @endforeach
    @else
    ----------
    @endforelse
  • Disclaimer Letter (MOE)
    {{$data->disclaimer_ltr_moe ? $data->disclaimer_ltr_moe : '----------'}}
  • Declaration Letter (MOE)
    {{$data->declaration_ltr_moe ? $data->declaration_ltr_moe : '----------'}}
  • HR Comments
    {{$data->hrcomment ? $data->hrcomment : '----------'}}
@can('view_payroll_basics')

Payroll Information @can('profile-update') @endcan

  • Basic Salary
    {{$data->basic_salary ? $data->basic_salary : '----------'}}
  • Accomodation Allowance
    {{$data->accomodation_allowance ? $data->accomodation_allowance : '----------'}}
  • Transport Allowance
  • Continuous Allowance
    {{$data->continuous_allowance ? $data->continuous_allowance : '----------'}}
  • Temporary Allowance
    {{$data->temp_allowance ? $data->temp_allowance : '----------'}}
  • Other Allowance
    {{$data->other_allowance ? $data->other_allowance : '----------'}}
  • Gross Total
    {{$data->gross_total ? $data->gross_total : '----------'}}
  • Bank Name
    {{$data->bank_name ? $data->bank_name : '----------'}}
  • Account No:
    {{$data->account_no ? $data->account_no : '----------'}}
  • IBAN No:
    {{$data->iban_no ? $data->iban_no : '----------'}}
  • Salary Payment Effective From
    {{$data->salary_effective_from ? date('jS M Y', strtotime($data->salary_effective_from)): '----------'}}
@endcan

Health Information @can('profile-update') @endcan

  • HMC Card No:
    {{$data->hmc_card_no ? $data->hmc_card_no : '----------'}}
  • Health Insurance Status
    {{(1==$data->health_insurance_status) ? 'Yes' : 'No'}}
  • Mention the name of your health insurance (if any)
  • Does the employee suffer from any medical conditions
    {{(1==$data->medical_ailment_physical) ? 'Yes' : 'No'}}
  • Mention Details (if any)
    @if($data->physical_details) @foreach(unserialize($data->physical_details) as $physical_detail)
    {{$physical_detail}}
    @endforeach @else
    ----------
    @endif
  • Does the employee suffer from any mental health
    {{(1==$data->medical_ailment_mental) ? 'Yes' : 'No'}}
  • Mention Details (if any)
    @if($data->mental_details) @foreach(unserialize($data->mental_details) as $mental_detail)
    {{$mental_detail}}
    @endforeach @else
    ----------
    @endforelse
  • Mention the name of medication taken (if any)
    {{$data->medication_details ? $data->medication_details : '----------'}}

Emergency Details @can('profile-update') @endcan

  • Primary Emergency Contact Name
    {{$data->emergency_primary_name ? $data->emergency_primary_name : '----------'}}
  • Relationship
    {{$data->relationship_primary_name ? $data->relationship_primary_name : '----------'}}
  • Primary Emergency Contact No:
  • Secondary Emergency Contact Name
    {{$data->emergency_secondary_name ? $data->emergency_secondary_name : '----------'}}
  • Relationship
    {{$data->relationship_secondary_name ? $data->relationship_secondary_name : '----------'}}
  • Secondary Emergency Contact No:
    {{$data->emergency_secondary_contact ? $data->emergency_secondary_contact : '----------'}}
  • Employee Remarks
    {{$data->comment ? $data->comment : '----------'}}

Attachments

@include("employee.partials.attaches")
@can('master')

Update Credentials

@csrf
@endcan
@can('profile-update') @endcan
@endsection @section('script') @endcan @endsection