@extends('template.layouts.template-base') @section('title') View Staff | {{ config('setting.website_name') ?: config('app.name') ?? '-' }} @endsection @section('content')

Staff Details

Personal Details
@php $completion = $staff->profileCompletion(); @endphp
Profile Status: {!! $staff->profileCompletionBar() !!} @if ($completion['missing'])
Missing: {{ implode(', ', $completion['missing']) }}
@endif
Name of the Staff: {{ $staff->staff_name ? $staff->staff_name : '-' }}
Staff ID: {{ $staff->staff_id ? $staff->staff_id : '-' }}
Gender: {{ $staff->gender ? $staff->gender : '-' }}
Date of Birth: {{ $staff->date_of_birth ? date('d-m-Y', strtotime($staff->date_of_birth)) : '-' }}
Mobile Number: {{ $staff->mobile_number ? $staff->mobile_number : '-' }}
Alternate Mobile Number: {{ $staff->alternate_number ? $staff->alternate_number : '-' }}
Email: {{ $staff->email ? $staff->email : '-' }}
Blood Group: {{ $staff->blood_group ? $staff->blood_group : '-' }}
Upload Photo: Download Photo
Aadhar Card No: {{ $staff->aadhar_number ? $staff->aadhar_number : '-' }}
Vote ID: {{ $staff->voter_id ? $staff->voter_id : '-' }}
Ration Card No: {{ $staff->ration_card_no ? $staff->ration_card_no : '-' }}
PAN Card: {{ $staff->pan_card ? $staff->pan_card : '-' }}
ESIC No: {{ $staff->esic_no ? $staff->esic_no : '-' }}
PF No: {{ $staff->pf_no ? $staff->pf_no : '-' }}
UAN No: {{ $staff->uan_no ? $staff->uan_no : '-' }}
Experience Type: {{ $staff->experience_type ? $staff->experience_type : '-' }}
@if($staff->experience_type == 'Experienced')
Uploaded Experience Letter: Download Document
Uploaded Releaving Letter: Download Document
Uploaded Payslip: Download Document
@if ($staff->other_documents)
Other Documents: Download Document
@endif @endif
ESI Handled By Client: {{ $staff->esi_by_client == 1 ? 'Yes' : 'No' }}
Differently Abled: {{ $staff->differently_abled == 1 ? 'Yes' : 'No' }}
Address Details
Registered Current Address
Building No / Flat No: {{ $staff->building_no ?? '-' }}
Street/Village: {{ $staff->address1 ?? '-' }}
City: {{ $staff->city ?? '-' }}
District: {{ $staff->district ?? '-' }}
State: {{ $staff->state ?? '-' }}
Country: {{ $staff->country ?? '-' }}
Pincode: {{ $staff->pincode ?? '-' }}
Full Address: {{ $staff->address ?: '-' }}
Registered Permanent Address
Same as current address: {{ $staff->same_as_current ? 'Yes' : 'No' }}
Building No / Flat No: {{ $staff->permanent_building_no ?? '-' }}
Street/Village: {{ $staff->permanent_address1 ?? '-' }}
City: {{ $staff->permanent_city ?? '-' }}
District: {{ $staff->permanent_district ?? '-' }}
State: {{ $staff->permanent_state ?? '-' }}
Country: {{ $staff->permanent_country ?? '-' }}
Pincode: {{ $staff->permanent_pincode ?? '-' }}
Full Address: {{ ($staff->permanent_address ?: $staff->address2) ?: '-' }}
Work Details
@if ($staff->staff_type == "Project")
Project: {{ $staff->project ? $staff->project->project_name : '-' }}
@endif @if ($staff->staff_type == "Client")
Client: {{ $staff->client ? $staff->client->company_name : '-' }}
@endif
Date of Joining: {{ $staff->date_of_joining ? date('d-m-y', strtotime($staff->date_of_joining)) : '-' }}
Date of Relieving: {{ $staff->date_of_relieving ? $staff->date_of_relieving : '-' }}
Relieving Reason: {{ $staff->releaving_reason ? $staff->releaving_reason : '-' }}
Project Name: {{ $staff->project_name ? $staff->project_name : '-' }}
Monthly Salary: {{ $staff->monthly_salary ? $staff->monthly_salary : '-' }}
CTC: {{ $staff->ctc ?? '-' }}
Employment Type: {{ $staff->employment_type ?: '-' }}
Work Location: {{ $staff->deployed_location ? $staff->deployed_location : '-' }}
Review details
First Review Date: {{ $staff->first_review_date ? date('d-m-Y', strtotime($staff->first_review_date)) : '-'}}
Second Review Date: {{ $staff->second_review_date ? date('d-m-Y', strtotime($staff->second_review_date)) : '-' }}
Third Review Date: {{ $staff->third_review_date ? date('d-m-Y', strtotime($staff->third_review_date)) : '-' }}
Fourth Review Date: {{ $staff->fourth_review_date ? date('d-m-Y', strtotime($staff->fourth_review_date)) : '-' }}
Comment: {{ $staff->comment ? $staff->comment : '-' }}
Family details
Family Members
@forelse ($staff->familyMembers as $member) @empty @endforelse
Name Relationship Date of Birth Gender Mobile Number Dependent Nominee Nominee Share %
{{ $member->name ?: '-' }} {{ $member->relationship ?: '-' }} {{ $member->date_of_birth ? date('d-m-Y', strtotime($member->date_of_birth)) : '-' }} {{ $member->gender ?: '-' }} {{ $member->mobile_number ?: '-' }} {{ $member->is_dependent ? 'Yes' : 'No' }} {{ $member->is_nominee ? 'Yes' : 'No' }} {{ $member->is_nominee && $member->nominee_share !== null ? $member->nominee_share + 0 : '-' }}
No family members added
Files & Documents
Upload Aadhar Card: Download Document
Upload Bank Pass Book: Download Document
Upload Pan Card: Download Document
Bank details
Account Holder Name: {{ $staff->account_holder_name ? $staff->account_holder_name : '-' }}
Bank Account No: {{ $staff->bank_account_no ? $staff->bank_account_no : '-' }}
IFSC: {{ $staff->ifsc ? $staff->ifsc : '-' }}
Bank Name: {{ $staff->bank_name ? $staff->bank_name : '-' }}
Bank Branch: {{ $staff->bank_branch ? $staff->bank_branch : '-' }}
Status: {!! $staff->status ? 'Active' : 'Inactive' !!}
Back
@endsection