@section('title', get_setting('site_name') . ' | Employee History') @push('css') @endpush
Profile, salary, branch tenure, loans (PF / GF / SWF / Advance Salary), promotions, and assets.
| 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 |
| 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 ?? '—' }} |
| Branch | Joined | Left | Duration | Status |
|---|---|---|---|---|
| {{ $tenure->branch?->name ?? '—' }} | {{ $tenure->joined_at?->format('Y-m-d') ?? '—' }} | {{ $tenure->isCurrent() ? 'Present' : ($tenure->left_at?->format('Y-m-d') ?? '—') }} | @if($tenure->hasStarted()) {{ $tenure->durationLabel() }} ({{ $tenure->durationDays() }} days) @else {{ $tenure->durationLabel() }} @endif | @if($tenure->isCurrent()) Current @else Past @endif |
| Applied | Amount | Paid | Remaining | Duration | Status | Reason |
|---|---|---|---|---|---|---|
| {{ $advance->apply_date ? \Carbon\Carbon::parse($advance->apply_date)->format('Y-m-d') : ($advance->created_at?->format('Y-m-d') ?? '—') }} | {{ number_format((float) $advance->amount, 2) }} | {{ number_format((float) $advance->paid_amount, 2) }} | {{ number_format((float) $advance->remaining_amount, 2) }} | {{ $advance->duration }} mo | @if((int) $advance->status !== 1) Pending @elseif($advance->remaining_amount > 0) Active @else Closed @endif | {{ $advance->reason ? \Illuminate\Support\Str::limit($advance->reason, 120) : '—' }} |
| 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) : '—' }} |