@section('title', get_setting('site_name') . ' | Employee History') @push('css') @endpush

Employee History

Single-Page 360° History: Profile, Salary, Reviews, Promotions, Transfers, And Assets.

Personal Information
Name
{{ $staff->user?->name ?? '—' }}
User Id
{{ $staff->user_id }}
Email
{{ $staff->user?->email ?? '—' }}
Phone
{{ $staff->user?->phone ?? '—' }}
Branch
{{ $staff->warehouse?->name ?? '—' }}
Department
{{ $staff->department?->name ?? '—' }}
Designation
{{ $staff->designation?->name ?? '—' }}
Current Salary Setup
@if($salarySetup)
Basic
{{ number_format((float) $salarySetup->basic_salary, 2) }}
Gross
{{ number_format((float) $salarySetup->gross_salary, 2) }}
Net
{{ number_format((float) $salarySetup->net_salary, 2) }}
House Rent
{{ number_format((float) $salarySetup->house_rent, 2) }}
Medical
{{ number_format((float) $salarySetup->medical, 2) }}
Conveyance
{{ number_format((float) $salarySetup->conveyance, 2) }}
@else
No Salary Setup Found For This Employee.
@endif
Salary Reviews (Latest 50) Open Salary Reviews
@forelse($salaryReviews as $r) @empty @endforelse
Recorded Effective Review Type Increment Status By Action
{{ $r->created_at?->format('Y-m-d H:i') }} {{ $r->effective_date?->format('Y-m-d') ?? '—' }} {{ $r->review_type ?? '—' }} {{ $r->increment_mode ? ucfirst($r->increment_mode) : '—' }} {{ $r->increment_value !== null ? number_format((float) $r->increment_value, 2) : '' }} @if($r->status === \App\Models\SalaryReview::STATUS_APPROVED) Applied @elseif($r->status === \App\Models\SalaryReview::STATUS_REJECTED) Rejected @else Pending @endif {{ $r->createdBy?->name ?? '—' }} View
No Salary Review Records
Promotion History (Latest 50)
@forelse($promotions as $p) @empty @endforelse
Recorded Effective Designation Department Reason By
{{ $p->created_at?->format('Y-m-d H:i') }} {{ $p->effective_date?->format('Y-m-d') ?? '—' }} {{ $p->fromDesignation?->name ?? '—' }} → {{ $p->toDesignation?->name ?? '—' }} {{ $p->fromDepartment?->name ?? '—' }} → {{ $p->toDepartment?->name ?? '—' }} {{ $p->reason ? \Illuminate\Support\Str::limit($p->reason, 160) : '—' }} {{ $p->createdBy?->name ?? '—' }}
No Promotion Records
Branch Transfer History (Latest 50)
@forelse($transfers as $t) @empty @endforelse
Recorded Effective From To Reason By
{{ $t->created_at?->format('Y-m-d H:i') }} {{ $t->effective_date?->format('Y-m-d') ?? '—' }} {{ $t->fromBranch?->name ?? '—' }} {{ $t->toBranch?->name ?? '—' }} {{ $t->reason ? \Illuminate\Support\Str::limit($t->reason, 160) : '—' }} {{ $t->createdBy?->name ?? '—' }}
No Transfer Records
Asset History (Latest 100)
@forelse($assetHistory as $a) @empty @endforelse
Recorded Assign Date Asset Category Qty Status Return Description
{{ $a->created_at?->format('Y-m-d H:i') }} {{ $a->assign_date ? \Carbon\Carbon::parse($a->assign_date)->format('Y-m-d') : '—' }} {{ $a->asset_item?->name ?? '—' }} {{ $a->asset_category?->name ?? '—' }} {{ $a->qty }} {{ (int) $a->status === 1 ? 'Active' : 'Inactive' }} {{ (int) $a->return === 1 ? 'Returned' : 'Not Returned' }} {{ $a->description ? \Illuminate\Support\Str::limit($a->description, 160) : '—' }}
No Asset Records