@extends('layouts.portal') @section('header_title', 'Employee Profile') @section('content')
{{ $employee->name }}

{{ $employee->name }}

{{ $employee->role }}

{{ $employee->designation }} at Creative Souls

{{ $employee->department->name ?? 'Portal Core' }}
Joined {{ $employee->joining_date->format('M Y') }}
@can('create', App\Models\Task::class) Assign Task @endcan Message Employee

Total Tasks

{{ $taskStats['total'] }}

Completed

{{ $taskStats['completed'] }}

Avg Efficiency

{{ count($ratings) > 0 ? number_format($ratings->avg('rating'), 1) : '5.0' }}

@for($i=0; $i<5; $i++) @endfor

Leave Bal.

{{ $employee->leave_balance }}

Days Available

Employee Details

Reporting to {{ $employee->manager->name ?? 'Main Office' }}
Work Mode Remote
Timezone GMT+5

High Performer

Continuous streak of 12 daily reports with zero blockers.

Rising Star 2026

Performance Feedback

@forelse($ratings as $rating)
@for($i=1; $i<=5; $i++) @endfor
{{ $rating->type }} review
{{ $rating->date->diffForHumans() }}

"{{ $rating->comment }}"

{{ $rating->reviewer->name }}
@empty
No recent evaluations for this employee.
@endforelse

Activity Logs

@foreach($reports as $report)
@if(!$loop->last)
@endif

{{ $report->date->format('M d, Y') }}

{{ $report->hours_spent }} Billable Hours

{{ $report->tasks_completed }}

@endforeach
@endsection