@extends('app-new') @push('head-script') @endpush @section('content')
User: {{ $activityLogs->user_name }}
Prev Record:
@php $prevRecord = json_decode($activityLogs->prev_record, true); @endphp @if($prevRecord)New Record:
@php $newRecord = json_decode($activityLogs->new_record, true); @endphp @if($newRecord)| Day | {{ trans('employee/employee.shift_name') }} |
|---|---|
| {{ ucfirst($day) }} | {{ !is_null($weekShift) ? ucwords($weekShift->name) : '-' }} |
| {{ 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 |
| {{ 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 |
| 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) }} |
| Key | Old Value | New Value |
|---|---|---|
| {{ $change['key'] }} | {{ $change['old_val'] }} | {{ $change['new_val'] }} |
| {{ 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) : '-' }} |
{{ trans('employee/employee.no_team_found') }}
@endif| Level | Name | Organization |
|---|---|---|
| {{ $node->level }} | @if ($node->level > 0) ↳ @endif {{ $node->name }} @if ($node->employee_code) ({{ $node->employee_code }}) @endif | {{ $node->organization_name ?? '-' }} |
{{ trans('employee/employee.no_team_found') }}
@endif| Leave Rules |
|---|
| {{ ucfirst($leaveType->name) }} |
| Type | Overtime Rules |
|---|---|
| {{ $ruleLabels[$type] }} | @if ($rule) {{ ucfirst($rule->title) }} @else - @endif |
| Deduction Components |
|---|
|
{{ ucfirst($deductionComponent->name) }}
|
| # | Organization | Employee Code | Employee Type | Department | Designation | Manager | Status | {{--Created Date | --}}Joining 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 | ||||||||||
| {{ 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' : '' }} |
{{ trans('employee/employee.no_health_record_found') }}
@endif| {{ 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' : '' }} |
{{ trans('employee/employee.no_compliance_found') }}
@endif| {{ 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' : '' }} |
{{ trans('employee/employee.no_feedbacks_found') }}
@endif| {{ 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') }} |
{{ trans('employee/employee.no_certificates_found') }}
@endif| {{ 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') }} |
{{ trans('employee/employee.no_warnings_found') }}
@endif| {{ 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'] : '-' }} |
{{ trans('employee/employee.no_shift_found') }}
@endif| Name | Relationship | Mobile | Gender | Date of Birth | ||
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ ucfirst($nominee['name']) }} | {{ ucfirst($nominee['relationship'] ?: '-') }} | {{ $nominee['email'] ?: '-' }} | {{ $nominee['mobile'] ?: '-' }} | {{ ucfirst($nominee['gender'] ?: '-') }} | {{ $nominee['date_of_birth'] ?: '-' }} |
{{ trans('employee/employee.no_record_found') }}
@endif| 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'] ?: '-' }} |
{{ trans('employee/employee.no_record_found') }}
@endif| Sr No. | Item Name | Serial No. | Quantity |
|---|---|---|---|
| {{ $loop->iteration }} | {{ optional($asset->assetsItem)->name ?? '-' }} | {{ $asset->serial_no ?? '-' }} | {{ $asset->quantity ?? '-' }} |
{{ trans('employee/employee.no_record_found') }}
@endif| {{ trans('master/master.name') }} | {{ trans('employee/employee.device_sr_no') }} | |
|---|---|---|
| {{ $loop->iteration }} | {{ $userDevice->name }} | {{ $userDevice->serial_number }} |
{{ trans('employee/employee.no_record_found') }}
@endif