@section('title', get_setting('site_name') . ' | Staff Promotion') @push('css') @endpush
Update Designation And Optionally Department With Historical Records.
| Recorded | Effective | Employee | Designation | Department | Transfer Reason | Status | By |
|---|---|---|---|---|---|---|---|
| {{ $row->created_at?->format('Y-m-d H:i') }} | {{ $row->effective_date?->format('Y-m-d') ?? '—' }} | @if($row->staff) {{ $row->staff->user?->name ?? 'Staff #'.$row->staff->id }}({{ $row->staff->user_id }}) @else — @endif | {{ $row->fromDesignation?->name ?? '—' }} → {{ $row->toDesignation?->name ?? '—' }} | {{ $row->fromDepartment?->name ?? '—' }} → {{ $row->toDepartment?->name ?? '—' }} | {{ $row->reason ? \Illuminate\Support\Str::limit($row->reason, 220) : '—' }} | @php $status = $row->approval_status ?? 'approved'; $badge = match ($status) { 'pending' => 'badge-warning', 'rejected' => 'badge-danger', default => 'badge-success', }; @endphp {{ ucfirst($status) }} | {{ $row->createdBy?->name ?? '—' }} |
| No Records Yet | |||||||