@section('title', get_setting('site_name') . ' | Staff Promotion') @push('css') @endpush

Staff Promotion

Update Designation And Optionally Department With Historical Records.

@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif
New Promotion
@error('staffId') {{ $message }} @enderror
@error('toDesignationId') {{ $message }} @enderror
@error('reason') {{ $message }} @enderror
Promotion History
@forelse($history as $row) @empty @endforelse
Recorded Effective Employee Designation Department Transfer Reason 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) : '—' }} {{ $row->createdBy?->name ?? '—' }}
No Records Yet
@section('script') @endsection