@extends('app-new') @push('head-script') @endpush @section('content')
User avatar
{{-- @if (@$employee->employeeCtcMaster->id) @endif --}}

  • Username: {{ ucwords($employee->name) }}
  • Email: {{ $employee->email }}
  • Contact Number: {{ ucwords($employee->mobile) }}
  • Manager: {{ !is_null($employee->hod) ? ucwords($employee->hod->name) : '-' }}
  • Status: @if ($employee->status == App\Helpers\ConstantHelper::ACTIVE) {{ ucfirst($employee->status) }} @elseif( $employee->status == App\Helpers\ConstantHelper::IN_ACTIVE || $employee->status == App\Helpers\ConstantHelper::BLACKLIST) {{ ucfirst($employee->status) }} @else {{ ucfirst($employee->status) }} @endif
  • @if ($employee->status == 'inactive')
  • Inactivation Date: {{ $employee->inactivation_date ? \Carbon\Carbon::parse($employee->inactivation_date)->format('d-m-Y') : ' ' }}
  • @endif
  • Group Joining Date: {{ $employee->group_joining_date ? date('d/m/Y', strtotime($employee->group_joining_date)) : ($employee->date_of_joining ? date('d/m/Y', strtotime($employee->date_of_joining)) : '') }}
  • Joining Date: {{ $employee->date_of_joining ? date('d/m/Y', strtotime($employee->date_of_joining)) : '' }}
  • @if ($employee->transfer_date)
  • Transfer Date: {{ $employee->transfer_date ? date('d/m/Y', strtotime($employee->transfer_date)) : '' }}
  • @endif @if ($employee->status == 'active') {{ trans('employee/employee.transfer') }} {{-- --}} @endif @if ($employee->status == 'transfer') @endif

Emergency Contact Details

Name:
{{ ucwords($employee->contact_person_name) }}
Relation:
{{ ucwords($employee->contact_person_relation) }}
Mobile:
{{ $employee->contact_person_mobile ? $employee->contact_person_dial_code . ' ' . $employee->contact_person_mobile : '' }}

Employee On-Boarding

Created By:
{{ @$employee->createdBy->name }}
Created At:
{{ date('d/m/Y H:i:s', strtotime(@$employee->created_at)) }}
Updated By:
{{ @$employee->updatedBy->name }}
Updated At:
{{ date('d/m/Y H:i:s', strtotime(@$employee->updated_at)) }}

Activity Details

@if($activityLogs)
Created At: {{ $activityLogs->created_at }}

User: {{ $activityLogs->user_name }}

Prev Record:

@php $prevRecord = json_decode($activityLogs->prev_record, true); @endphp @if($prevRecord)
    @foreach($prevRecord as $key => $value) @if($key != 'configuration')
  • {{ ucfirst(str_replace('_', ' ', $key)) }}: {{ $value ?? 'N/A' }}
  • @endif @endforeach
@endif

New Record:

@php $newRecord = json_decode($activityLogs->new_record, true); @endphp @if($newRecord)
    @foreach($newRecord as $key => $value) @if($key != 'configuration')
  • {{ ucfirst(str_replace('_', ' ', $key)) }}: {{ $value ?? 'N/A' }}
  • @endif @endforeach
@endif
@endif

Personal Info

Role:
{{ !is_null(@$employee->role->name) ? ucwords(@$employee->role->name) : '-' }}
Designation:
{{ !is_null($employee->designation) ? ucwords($employee->designation->name) : '-' }}
Department:
{{ !is_null($employee->department) ? ucwords($employee->department->name) : '-' }}
Grade:
{{ !is_null($employee->grade) ? ucwords($employee->grade->name) : '-' }}
Gender:
{{ !is_null($employee->gender) ? ucwords($employee->gender) : '-' }}
DOB:
{{ !is_null($employee->dob) ? date('d/m/Y', strtotime($employee->dob)) : '-' }}

Account Details

Workstation:
{{ !is_null($employee->workStation) ? ucwords($employee->workStation->name) : '-' }}
Company Code:
{{ !is_null($employee->companyCode) ? ucwords($employee->companyCode->name) : '-' }}
Date of Joining:
{{ !is_null($employee->date_of_joining) ? date('d/m/Y', strtotime($employee->date_of_joining)) : '-' }}
Manager:
{{ !is_null($employee->hod) ? ucwords($employee->hod->name) : '-' }}
Date of Leaving:
{{ !is_null($employee->date_of_leaving) ? ucwords($employee->date_of_leaving) : '-' }}
@if ($employee->employee_type == 'workman')
Contractor Name:
{{ !is_null($employee->contractor) ? $employee->contractor->name : '-' }}
@endif
Zone:
{{ !is_null($employee->zone) ? ucwords($employee->zone->name) : '-' }}
Sub Department:
{{ !is_null($employee->subDepartment) ? ucwords($employee->subDepartment->name) : '-' }}
Premises:
{{ !is_null($employee->premises) ? ucwords($employee->premises) : '-' }}
Category:
{{ !is_null($employee->category) ? ucwords($employee->category->name) : '-' }}
Company PF Code:
{{ !is_null($employee->companyPfCode) ? ucwords($employee->companyPfCode->name) : '-' }}

Location and Shift Info

Permanent Address:
{{ !is_null($employee->geo_address) ? ucwords($employee->geo_address) : '-' }}
Locations:
{{ $employee->locations->count() ? implode(', ', $employee->locations->map(fn($l) => ucwords($l->name))->toArray()) : '-' }}
Sub Locations:
{{ $employee->subLocations->count() ? implode(', ', $employee->subLocations->map(fn($l) => ucwords($l->name))->toArray()) : '-' }}
Shift:
{{ !is_null($currentShift) ? ucwords($currentShift->name) : '-' }}
Additional Shifts:
{{ $employee->additionalShifts->count() ? implode(', ', $employee->additionalShifts->map(fn($s) => ucwords($s->name))->toArray()) : '-' }}
Maximum Working Hours:
{{ !is_null($employee->max_hour) ? ucwords($employee->max_hour) : '-' }}
Flexi Hours:
{{ !is_null($employee->flexi_hours) ? ucwords($employee->flexi_hours == 1 ? 'Yes' : 'No') : '-' }}
{{--
Time Zone:
{{ !is_null($employee->timezone) ? ucwords($employee->timezone == 1 ? 'Yes' : 'No') : '-' }}
--}}
Temporary Address:
{{ !is_null($employee->temporary_geo_address) ? ucwords($employee->temporary_geo_address) : '-' }}
Auto Shift:
{{ isset($isAutoShift) && $isAutoShift ? ($isAutoShift == 1 ? 'Yes' : 'No') : '-' }}
Standard Working Hours:
{{ isset($configData['standred_working_hour']) && $configData['standred_working_hour'] ? $configData['standred_working_hour'] : '-' }}
@if (isset($weekShifts) && count($weekShifts) > 0)
Week Shifts
@foreach ($weekShifts as $day => $weekShift) @endforeach
Day {{ trans('employee/employee.shift_name') }}
{{ ucfirst($day) }} {{ !is_null($weekShift) ? ucwords($weekShift->name) : '-' }}
@endif

User's Setting

Status:
{{ !is_null($employee->status) ? ucwords($employee->status) : '-' }}
Bus Allowed:
{{ !is_null($employee->is_bus_allowed) ? ($employee->is_bus_allowed == 1 ? 'Yes' : 'No') : '-' }}
Attendance Access:
{{ !is_null($employee->is_attendance_access) ? ($employee->is_attendance_access == 1 ? 'Yes' : 'No') : '-' }}
@if (isset($configData['is_auto_inactive']))
Auto Inactive:
{{ $configData['is_auto_inactive'] ? ($configData['is_auto_inactive'] == 1 ? 'Yes' : 'No') : '-' }}
@endif
Attendance Data Removal:
{{ !is_null($employee->attendance_data_removal) ? ($employee->attendance_data_removal == 1 ? 'Yes' : 'No') : '-' }}
Email Visibility:
{{ !is_null($employee->email_visibility) ? $employee->email_visibility : '-' }}
@if (isset($orgConfigData['imei_enable']) && $orgConfigData['imei_enable'] == '1')
Imei Enable:
{{ $orgConfigData['imei_enable'] ? ($orgConfigData['imei_enable'] == 1 ? 'Yes' : 'No') : '-' }}
@endif
Imei Number:
{{ $employee->imei }}
Email Notification:
{{ !is_null($employee->email_setting) ? ($employee->email_setting == 1 ? 'Yes' : 'No') : '-' }}
App Login:
{{ !is_null($employee->is_app_login) ? ($employee->is_app_login == 1 ? 'Yes' : 'No') : '-' }}
Live Tracking:
{{ !is_null($employee->live_tracking) ? ($employee->live_tracking == 1 ? 'Yes' : 'No') : '-' }}
@if (isset($configData['is_double_duty']))
Double Duty:
{{ $configData['is_double_duty'] ? ($configData['is_double_duty'] == 1 ? 'Yes' : 'No') : '-' }}
@endif @if (isset($orgConfigData['no_face_punching']) && $orgConfigData['no_face_punching'] == '1' && isset($orgConfigData['no_face_punching_allowed']))
{{ trans('employee/employee_create.no_face_punching_allowed') }}
{{ isset($orgConfigData['no_face_punching_allowed']) ? ($orgConfigData['no_face_punching_allowed'] == 1 ? 'Yes' : 'No') : '-' }}
@endif
Mobile Visibility:
{{ !is_null($employee->mobile_visibility) ? $employee->mobile_visibility : '-' }}
Remarks:
{{ !is_null($employee->remarks) ? $employee->remarks : '-' }}

Identity and Bank Info

Bank Name:
{{ !is_null($employee->bank_name) ? ucwords($employee->bank_name) : '-' }}
Account Holder Name:
{{ !is_null($employee->bank_account_holder_name) ? ucwords($employee->bank_account_holder_name) : '-' }}
@php $canAddEmployee = isset($employee) && $employee->employee_type == 'employee' ? Auth::user()->can_role('On-Roll Employees Add') : Auth::user()->can_role('Contractual Worker Add'); @endphp
Aadhar Number:
@if ($canAddEmployee) {{ isset($employee) && !is_null($employee->aadhar_number) ? ucwords($employee->aadhar_number) : '-' }} @else {{ isset($employee) && !is_null($employee->aadhar_number) ? 'XXXXXXXX' . substr($employee->aadhar_number, -4) : '-' }} @endif
PF Number:
{{ !is_null($employee->pf_no) ? ucwords($employee->pf_no) : '-' }}
ESIC Number:
{{ !is_null($employee->esic_no) ? ucwords($employee->esic_no) : '-' }}
PAN Number:
{{ !is_null($employee->pan_no) ? ucwords($employee->pan_no) : '-' }}
Passport Number :
{{ !is_null($employee->passport_number) ? ucwords($employee->passport_number) : '-' }}
IP Number:
{{ !is_null($employee->ip_number) ? ucwords($employee->ip_number) : '-' }}
Account Number:
{{ !is_null($employee->bank_account_no) ? ucwords($employee->bank_account_no) : '-' }}
IFSC Code:
{{ !is_null($employee->bank_ifsc) ? ucwords($employee->bank_ifsc) : '-' }}
UAN Number:
{{ !is_null($employee->uan_number) ? ucwords($employee->uan_number) : '-' }}
Name as per Aadhar:
{{ !is_null($employee->name_as_per_aadhar) ? ucwords($employee->name_as_per_aadhar) : '-' }}
Passport Valid From Date:
{{ !is_null($employee->passport_valid_from_date) ? ucwords($employee->passport_valid_from_date) : '-' }}
Passport Valid To Date:
{{ !is_null($employee->passport_valid_to_date) ? ucwords($employee->passport_valid_to_date) : '-' }}
Mode Of Payment:
{{ !is_null($employee->mode_of_payment) ? ucwords($employee->mode_of_payment) : '-' }}

Other Details

Father's / Husband's Name:
{{ !is_null($employee->father_name) ? ucwords($employee->father_name) : '-' }}
Date of Birth:
{{ !is_null($employee->dob) ? date('d/m/Y', strtotime($employee->dob)) : '-' }}
Blood Group:
{{ !is_null($employee->blood_group) ? ucwords($employee->blood_group) : '-' }}
Citizenship:
{{ !is_null($employee->cityzen_type) ? ucwords($employee->cityzen_type) : '-' }}
Qualification:
{{ !is_null($employee->qualification) ? ucwords($employee->qualification) : '-' }}
Experience:
{{ !is_null($employee->experience) ? ucwords($employee->experience) : '-' }}
Disability:
{{ !is_null($employee->disability) ? ucwords($employee->disability) : '-' }}
Marital Status:
{{ !is_null($employee->marital_status) ? ucwords($employee->marital_status) : '-' }}
Employement Type:
{{ !is_null($employee->employment_type) ? ucwords($employee->employment_type) : '-' }}
Alternative Mobile Number:
{{ !is_null($employee->alternate_mobile) ? ucwords($employee->alternate_mobile) : '-' }}
Number of Childs:
{{ !is_null($employee->no_of_child) ? ucwords($employee->no_of_child) : '-' }}
Nationality:
{{ !is_null($employee->nationality) ? ucwords($employee->nationality) : '-' }}

Attachments

@foreach ($attachmentTypes as $attachmentKey => $attachmentName) @endforeach
{{ trans('employee/employee_create.document_title') }} {{ trans('employee/employee_create.document_action') }}
{{ $attachmentName }} @if ($employee->{$attachmentKey}) {{ trans('common/common.download') }} @else {{ trans('employee/employee_create.not_uploaded') }} @endif

Documents

@foreach ($templates as $template) @endforeach
{{ trans('employee/employee_create.document_title') }} {{ trans('employee/employee_create.document_action') }}
{{ $template->title }} @if ($template->attachment_url) {{ trans('common/common.download') }} id/generate-pdf?employee_id=$employee->id" }}"> Generate Again @else id/generate-pdf?employee_id=$employee->id" }}"> Generate @endif

Employee Details

Name :
{{ ucwords($employee->name) . ' (' . $employee->employee_code . ')' }}
HOD :
{{ !is_null($employee->hod) ? ucwords($employee->hod->name) . ' (' . $employee->hod->employee_code . ')' : '-' }}

Leave Details

@foreach ($employeeLeaves as $leave) @endforeach
Leave Type Opening Balance Credited Carry Forward Taken Total Balance
{{ ucwords(@$leave->leaveType->name) }} {{ ucwords($leave->opening_leaves) }} {{ ucwords($leave->credited_leaves) }} {{ ucwords($leave->carry_forwarded_leaves) }} {{ ucwords($leave->taken_leaves) }} {{ ucwords($leave->balance_leaves) }}
{{--

User Activity Timeline

    @php $arr = ["", "timeline-point-info", "timeline-point-warning", "timeline-point-danger"]; @endphp @foreach ($logs as $key => $log)
  • Record {{$log['transaction_type']}}
    {{$log['created_at']}}
    @foreach ($log['changes'] as $change) @endforeach
    Key Old Value New Value
    {{ $change['key'] }} {{ $change['old_val'] }} {{ $change['new_val'] }}
    Avatar
    {{$log['source']}}
  • @endforeach
--}}

Teams

@if (count($teams) > 0)
@foreach ($teams as $teamMember) @endforeach
{{ trans('employee/employee.member_name') }} {{ trans('master/master.email') }} {{ trans('employee/employee.contact') }} {{ trans('master/master.department') }} {{ trans('master/master.designation') }}
{{ $loop->iteration }} {{ $teamMember->name }} {{ $teamMember->email }} {{ !is_null($teamMember->mobile) ? '+91 ' . $teamMember->mobile : '-' }} {{ !is_null($teamMember->department) ? ucwords($teamMember->department->name) : '-' }} {{ !is_null($teamMember->designation) ? ucwords($teamMember->designation->name) : '-' }}
@else

{{ trans('employee/employee.no_team_found') }}

@endif

Hierarchy

@if (count($managerHierarchy) > 0)
@foreach ($managerHierarchy->reverse() as $node) @endforeach
Level Name Organization
{{ $node->level }} @if ($node->level > 0) ↳ @endif {{ $node->name }} @if ($node->employee_code) ({{ $node->employee_code }}) @endif {{ $node->organization_name ?? '-' }}
@else

{{ trans('employee/employee.no_team_found') }}

@endif

Applied Rules

@foreach ($leaveTypes as $leaveType) @php $leaveRule = $leaveProcess->validateLeaveRule( $employee, $leaveType->id, ); @endphp @if ($leaveRule) @endif @endforeach
Leave Rules
{{ ucfirst($leaveType->name) }}
@if (collect($overtimeRules)->filter()->isNotEmpty())
@php $ruleLabels = [ 'relaxation' => 'Relaxation', 'payday' => 'Payday', 'comp-off' => 'Comp Off', 'overtime' => 'Overtime', ]; @endphp @foreach ($overtimeRules as $type => $rule) @endforeach
Type Overtime Rules
{{ $ruleLabels[$type] }} @if ($rule) {{ ucfirst($rule->title) }} @else - @endif
@endif

Components

@foreach ($deductionComponents as $deductionComponent) @endforeach
Deduction Components
{{ ucfirst($deductionComponent->name) }}

Qualification

@forelse($employeeQualifications as $index => $qualification)
{{ $qualification->qualification->title ?? 'Qualification' }}
{{ $qualification->institute_name }}, {{ $qualification->university_name ? $qualification->university_name . ',' : '' }} {{ $qualification->location }}
@if ($qualification->certificate_file) View Certificate @endif

Score: {{ $qualification->score_value ? $qualification->score_value . ' (' . $qualification->score_type . ')' : '-' }}
Duration: {{ $qualification->start_date ? \Carbon\Carbon::parse($qualification->start_date)->format('M Y') : '-' }} - {{ $qualification->persuing ? 'Present' : \Carbon\Carbon::parse($qualification->end_date)->format('M Y') }}
Remarks: {{ $qualification->remarks ?? '-' }}
@empty
No qualifications added yet.
@endforelse

Transfer History

{{-- --}} @forelse($transferHistory as $index => $transferEmp) {{-- @empty @endforelse
# Organization Employee Code Employee Type Department Designation Manager StatusCreated DateJoining Date Transfer Date
{{ $index + 1 }} {{ $transferEmp->organization->name ?? '' }} {{ $transferEmp->employee_code ?? '-' }} {{ $transferEmp->employee_type ? ucfirst($transferEmp->employee_type) : '-' }} {{ isset($transferEmp->department->name) && $transferEmp->department->name ? ucfirst($transferEmp->department->name) : '-' }} {{ isset($transferEmp->designation->name) && $transferEmp->designation->name ? ucfirst($transferEmp->designation->name) : '-' }} {{ isset($transferEmp->manager->name) && $transferEmp->manager->name ? ucfirst($transferEmp->manager->name) : '-' }} @if ($transferEmp->status == App\Helpers\ConstantHelper::ACTIVE) {{ ucfirst($transferEmp->status) }} @elseif( $transferEmp->status == App\Helpers\ConstantHelper::IN_ACTIVE || $transferEmp->status == App\Helpers\ConstantHelper::BLACKLIST) {{ ucfirst($transferEmp->status) }} @else {{ ucfirst($transferEmp->status) }} @endif {{ $transferEmp->created_at ? date('d/m/Y', strtotime($transferEmp->created_at)) : '' }} --}} {{ $transferEmp->date_of_joining ? date('d/m/Y', strtotime($transferEmp->date_of_joining)) : '' }} {{ $transferEmp->transfer_date ? date('d/m/Y', strtotime($transferEmp->transfer_date)) : '' }}
No transfer history available

Health Record

@if (count($healthRecords) > 0)
@foreach ($healthRecords as $healthRecord) @endforeach
{{ trans('employee/employee.test_name') }} {{ trans('emprecords/healthrecords.frequency') }} {{ trans('employee/employee.completed_date') }} {{ trans('employee/employee.due_date') }} {{ trans('common/common.status') }} {{ trans('common/common.attachment') }}
{{ $loop->iteration }} {{ $healthRecord->complianceType->name }} {{ ucfirst($healthRecord->complianceType->frequency->name ?? '') }} {{ !is_null($healthRecord->completed_date) ? date('d/m/Y', strtotime($healthRecord->completed_date)) : '-' }} {{ !is_null($healthRecord->next_due_date) ? date('d/m/Y', strtotime($healthRecord->next_due_date)) : '-' }} {{ ucfirst($healthRecord->status) }} {{ isset($healthRecord->attachments) ? 'View' : '' }}
@else

{{ trans('employee/employee.no_health_record_found') }}

@endif

Compliance

@if (count($compliances) > 0)
@foreach ($compliances as $compliance) @endforeach
{{ trans('employee/employee.verification_name') }} {{ trans('emprecords/healthrecords.frequency') }} {{ trans('employee/employee.completed_date') }} {{ trans('employee/employee.due_date') }} {{ trans('common/common.status') }} {{ trans('common/common.attachment') }}
{{ $loop->iteration }} {{ $compliance->complianceType->name }} {{ ucfirst($compliance->complianceType->frequency->name ?? '') }} {{ !is_null($compliance->completed_date) ? date('d/m/Y', strtotime($compliance->completed_date)) : '-' }} {{ !is_null($compliance->next_due_date) ? date('d/m/Y', strtotime($compliance->next_due_date)) : '-' }} {{ ucfirst($compliance->status) }} {{ isset($compliance->attachments) ? 'View' : '' }}
@else

{{ trans('employee/employee.no_compliance_found') }}

@endif

FeedBack's

@if (count($feedbacks) > 0)
@foreach ($feedbacks as $feedback) @endforeach
{{ trans('common/common.date') }} {{ trans('employee/employee.stars') }} {{ trans('emprecords/warning.feedback') }} {{ trans('emprecords/warning.rated_by') }} {{ trans('common/common.attachment') }}
{{ $loop->iteration }} {{ date('d/m/Y', strtotime($feedback->created_at)) }} @for ($i = 0; $i < $feedback->stars; $i++) @endfor @for ($i = $feedback->stars; $i < 5; $i++) @endfor {{ !is_null($feedback->feedback) ? $feedback->feedback : '-' }} @if ($feedback->created_by_type == 'admin') {{ !is_null($feedback->createdByAdmin) ? $feedback->createdbyAdmin->name : '-' }} @else {{ !is_null($feedback->createdByEmployee) ? $feedback->createdByEmployee->name : '-' }} @endif {{ isset($feedback->attachments) ? 'View' : '' }}
@else

{{ trans('employee/employee.no_feedbacks_found') }}

@endif

Certificates

@if (count($certificates) > 0)
@foreach ($certificates as $certificate) @endforeach
{{ trans('common/common.date') }} {{ trans('employee/employee.certificate_name') }} {{ trans('employee/employee.remarks') }} {{ trans('common/common.created_by') }} {{ trans('common/common.attachment') }}
{{ $loop->iteration }} {{ date('d/m/Y', strtotime($certificate->created_at)) }} {{ !is_null($certificate->name) ? $certificate->name : '-' }} {{ !is_null($certificate->remark) ? $certificate->remark : '-' }} @if ($certificate->created_by_type == 'admin') {{ !is_null($certificate->createdByAdmin) ? $certificate->createdbyAdmin->name : '-' }} @else {{ !is_null($certificate->createdByEmployee) ? $certificate->createdByEmployee->name : '-' }} @endif {{ trans('common/common.view') }}
@else

{{ trans('employee/employee.no_certificates_found') }}

@endif

Warnings

@if (count($warnings) > 0)
@foreach ($warnings as $warning) @endforeach
{{ trans('common/common.date') }} {{ trans('emprecords/warning.reason') }} {{ trans('emprecords/warning.other_reason') }} {{ trans('common/common.created_by') }} {{ trans('common/common.attachment') }}
{{ $loop->iteration }} {{ date('d/m/Y', strtotime($warning->created_at)) }} {{ !is_null($warning->reason) ? $warning->reason : '-' }} {{ !is_null($warning->other_reason) ? $warning->other_reason : '-' }} @if ($warning->created_by_type == 'admin') {{ !is_null($warning->createdByAdmin) ? $warning->createdbyAdmin->name : '-' }} @else {{ !is_null($warning->createdByEmployee) ? $warning->createdByEmployee->name : '-' }} @endif {{ trans('common/common.view') }}
@else

{{ trans('employee/employee.no_warnings_found') }}

@endif

Shift's Details

@if (count($shifts) > 0)
@foreach ($shifts as $shift) @endforeach
{{ trans('common/common.date') }} {{ trans('employee/employee.shift_name') }} {{ trans('employee/employee.shift_timing') }} {{ trans('employee/employee.in_time') }} {{ trans('employee/employee.out_time') }}
{{ $loop->iteration }} {{ date('d/m/Y', strtotime($shift['date'])) }} {{ isset($shift['data']) ? (is_null($shift['data']->rotaPlan) ? $shift['data']->name : $shift['data']->rotaPlan->shift->name) : '-' }} {{ isset($shift['data']) ? (is_null($shift['data']->rotaPlan) ? $shift['data']->start_time . ' - ' . $shift['data']->end_time : $shift['data']->rotaPlan->shift->start_time . ' - ' . $shift['data']->rotaPlan->shift->end_time) : '-' }} {{ !is_null($shift['inTime']) ? $shift['inTime'] : '-' }} {{ !is_null($shift['outTime']) ? $shift['outTime'] : '-' }}
@else

{{ trans('employee/employee.no_shift_found') }}

@endif

Nominee Details

@if (count($employee->nominees) > 0)
@foreach ($employee->nominees as $nominee) @endforeach
Name Relationship Email Mobile Gender Date of Birth
{{ $loop->iteration }} {{ ucfirst($nominee['name']) }} {{ ucfirst($nominee['relationship'] ?: '-') }} {{ $nominee['email'] ?: '-' }} {{ $nominee['mobile'] ?: '-' }} {{ ucfirst($nominee['gender'] ?: '-') }} {{ $nominee['date_of_birth'] ?: '-' }}
@else

{{ trans('employee/employee.no_record_found') }}

@endif

Family Details

@if (count($employee->families) > 0)
@foreach ($employee->families as $family) @endforeach
Name Relationship Qualification Occupaion Age Gender Physical Fit Date of Birth
{{ $loop->iteration }} {{ ucfirst($family['name']) }} {{ ucfirst($family['relationship'] ?: '-') }} {{ ucfirst($family['qualification'] ?: '-') }} {{ ucfirst($family['occupation'] ?: '-') }} {{ $family['age'] ?: '-' }} {{ ucfirst($family['gender'] ?: '-') }} {{ $family['physically_fit'] == '1' ? 'Yes' : 'No' }} {{ $family['date_of_birth'] ?: '-' }}
@else

{{ trans('employee/employee.no_record_found') }}

@endif

Assets Details

@if (count($employee->assets) > 0)
@foreach ($employee->assets as $asset) @endforeach
Sr No. Item Name Serial No. Quantity
{{ $loop->iteration }} {{ optional($asset->assetsItem)->name ?? '-' }} {{ $asset->serial_no ?? '-' }} {{ $asset->quantity ?? '-' }}
@else

{{ trans('employee/employee.no_record_found') }}

@endif

Devices

@if (count($userDevices) > 0)
@foreach ($userDevices as $userDevice) @endforeach
{{ trans('master/master.name') }} {{ trans('employee/employee.device_sr_no') }}
{{ $loop->iteration }} {{ $userDevice->name }} {{ $userDevice->serial_number }}
@else

{{ trans('employee/employee.no_record_found') }}

@endif
@endsection @push('footer-script') @endpush