@extends('layouts.app') @section('title', 'Employee Profile') @section('content')
View detailed employee information
{{ $employee->profile->employee_id ?? '' }}
Current leave status and allocation
Designations: {{ implode(', ', $leaveAllocation['employee']['designations']) }}
Previous leave requests and their status
| Type | Period | Days | Status | Date |
|---|---|---|---|---|
| {{ $leave['leave_type'] }} | {{ $leave['from_date'] }} - {{ $leave['to_date'] }} | {{ $leave['days'] }} | {{ ucfirst($leave['status']) }} | {{ \Carbon\Carbon::parse($leave['created_at'])->format('M d, Y') }} |