@extends('layouts.admin') @section('header')

Ex-Employee Management

@endsection @section('content') @php $employeeCount = $employees->total(); @endphp

Resigned Employees

Archive of resigned staff members

{{ $employeeCount }}

Total Resigned

All Resigned Employees

👥 Active Employees
@if($search) Clear @endif
@if($search)

📋 Showing results for: "{{ $search }}"

@endif
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@forelse ($employees as $employee) @empty @endforelse
# Employee No Name Email Position Resigned At Resignation Reason Actions
{{ $loop->iteration }} {{ $employee->employee_no }} {{ $employee->full_name }} {{ $employee->email }} {{ $employee->position ?? '-' }} {{ optional($employee->resigned_at)->format('M d, Y') ?? '-' }} {{ $employee->resignation_reason ?? '-' }} View
@csrf @method('PATCH')
No resigned employees found.
{{ $employees->links() }}
@endsection