{{ $employee->full_name }}
{{ $employee->department?->name ?? '—' }}
@php $colors = ['active'=>'green','on_leave'=>'amber','terminated'=>'red']; $c = $colors[$employee->status] ?? 'gray'; @endphp {{ ucfirst(str_replace('_',' ',$employee->status)) }}| Name | Type | Uploaded | |
|---|---|---|---|
| {{ $doc->name }} | {{ $doc->type ?? '—' }} | {{ $doc->created_at->format('Y-m-d') }} | Download |
| No documents. | |||
| Date | Check In | Check Out | Status |
|---|---|---|---|
| {{ $a->date->format('Y-m-d') }} | {{ $a->check_in ?? '—' }} | {{ $a->check_out ?? '—' }} | {{ ucfirst($a->status) }} |
| No attendance records. | |||
| Type | From | To | Days | Status |
|---|---|---|---|---|
| {{ ucfirst($l->type) }} | {{ $l->from_date->format('Y-m-d') }} | {{ $l->to_date->format('Y-m-d') }} | {{ $l->days }} | {{ ucfirst($l->status) }} |
| No leave records. | ||||