@extends('layouts.app') @section('title', 'Employee Directory') @section('content')

Employee Directory

Manage workforce profiles, contracts, compensation and reporting hierarchies

Export CSV Register Employee
@if(request()->anyFilled(['search', 'department_id', 'employment_status'])) Reset @endif
@forelse($employees as $emp) @empty @endforelse
Code Employee Name Department Designation Status Joining Date Gross Salary Actions
{{ $emp->employee_code }}
{{ strtoupper(substr($emp->first_name, 0, 1) . substr($emp->last_name, 0, 1)) }}
{{ $emp->full_name }} {{ $emp->work_email }}
{{ $emp->department->name ?? 'Unassigned' }} {{ $emp->designation->title ?? 'Staff' }} @if($emp->employment_status === 'active') Active @elseif($emp->employment_status === 'probation') Probation @else {{ ucfirst($emp->employment_status) }} @endif {{ $emp->joining_date ? $emp->joining_date->format('d M Y') : '--' }} ৳ {{ number_format($emp->gross_salary, 2) }}
@csrf @method('DELETE')
No employees match your search criteria.
@if($employees->hasPages()) @endif
@endsection