@extends('layouts.app') @section('title', 'Employee Directory') @section('content')
Manage workforce profiles, contracts, compensation and reporting hierarchies
| 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) }} | |
| No employees match your search criteria. | |||||||