{{ $notificationMessage }}
Analyze team occupancy and workload distribution by department and time period
Over Utilized
{{ $summaryStats['over_utilized'] }}
Optimal
{{ $summaryStats['optimal'] }}
Under Utilized
{{ $summaryStats['under_utilized'] }}
Period: {{ \Carbon\Carbon::parse($startDate)->format('M j, Y') }} - {{ \Carbon\Carbon::parse($endDate)->format('M j, Y') }}
| User | Department | Capacity | Occupancy | Hours Worked | Margin Hours | Status |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($data['user']->name, 0, 2)) }}
{{ $data['user']->email }}
|
@if($data['department_id'])
{{ $data['department'] }}
{{ $data['department_code'] }}
@else
{{ $data['department'] }}
{{ $data['department_code'] }}
@endif
|
{{ $data['period_capacity'] }}h
{{ $data['daily_capacity'] }}h/day
|
{{ $data['daily_hours'] }}h/day capacity
@else
No daily hours configured
@endif
|
{{ $data['total_hours_worked'] }}h
@if($data['tasks_count'] > 0)
@else
{{ $data['tasks_count'] }} tasks
@endif
|
{{ $data['margin_hours'] >= 0 ? '+' : '' }}{{ $data['margin_hours'] }}h
@if($data['margin_hours'] < 0)
Over capacity
@endif
|
{{ ucfirst(str_replace('_', ' ', $data['workload_status'])) }} |
Try adjusting your filters or date range.
| Task | Matter/Client | Status | Hours | Dates |
|---|---|---|---|---|
|
{{ $task->title }}
{{ Str::limit($task->description, 50) }}
|
@if($task->matter)
{{ $task->matter->subject }}
Matter
@elseif($task->client)
{{ $task->client->company_name ?? 'No Client' }}
Client
@else
No association
@endif
|
{{ ucfirst(str_replace('_', ' ', $task->status)) }} |
@if($task->actual_hours > 0)
{{ $task->actual_hours }}h (actual)
@elseif($task->estimated_hours > 0)
{{ $task->estimated_hours }}h (estimated)
@else
-
@endif
|
@if($task->start_date)
{{ \Carbon\Carbon::parse($task->start_date)->format('M j') }}
@endif
@if($task->due_date)
- {{ \Carbon\Carbon::parse($task->due_date)->format('M j') }}
@endif
|
No tasks found for this user in the selected period.