@extends('layouts.admin') @php $isDenison = $activeSurvey && isset($analytics) && $analytics && !empty($analytics->category_scores) && isset($analytics->category_scores['denison-mission']); @endphp @section('title', 'Dashboard') @section('header', $isDenison ? 'Culture Assessment Dashboard' : 'Engagement Dashboard') @section('subheader', $isDenison ? 'Denison Organizational Culture Model - Assessment Results' : 'Overview of your latest employee engagement survey results') @section('header-actions') @if($activeSurvey) View Active Survey @endif Download Report @endsection @section('content')
@if($activeSurvey && $analytics) @include('company.partials.low-volume-warning')

Response Overview

@include('company.partials.response-stats')
@if($isDenison) {{-- Denison Culture Profile Quadrant --}} @include('company.partials.denison-quadrant') @endif

Engagement Index

{{ $analytics->getEngagementInterpretation()['label'] }}
{{ number_format($analytics->overall_engagement_index, 0) }}%

Overall Score

Responses

@if($responseStats['total_invitations'] > 0) {{ $responseStats['invitation_response_rate'] >= 80 ? 'Excellent' : ($responseStats['invitation_response_rate'] >= 60 ? 'Good' : 'Low') }} @endif
{{ $responseStats['total_responses'] }}

@if($responseStats['total_invitations'] > 0) {{ $responseStats['via_invitation'] }} invited, {{ $responseStats['via_direct_link'] }} direct @else All via direct link @endif

@if($responseStats['total_invitations'] > 0)
Invitation Response Rate {{ $responseStats['invitation_response_rate'] }}%
@endif

Grand Mean

@if($analytics->grand_mean >= 4) ๐Ÿ˜Š @elseif($analytics->grand_mean >= 3) ๐Ÿ˜ @else ๐Ÿ˜Ÿ @endif
{{ number_format($analytics->grand_mean ?? 0, 2) }} / 5.0

Average of all responses

Engagement Classification

Distribution of employees by engagement level

@include('company.partials.engagement-breakdown')

Category Scores

Performance across the engagement dimensions

View Details
@foreach($categoryScores as $category) @php $interpretation = \App\Models\Category::getScoreInterpretation($category['score']); @endphp
{{ $category['icon'] }} {{ $category['name'] }}
{{ number_format($category['score'], 0) }}%
{{ $interpretation['label'] }}
@endforeach
@if(isset($cvfData) && $cvfData) @include('company.partials.cvf-summary') @endif @if($isDenison && !empty($subIndexScores)) @include('company.partials.denison-sub-indices') @endif @include('company.partials.benchmark-comparison')

Top Strengths

    @forelse($topItems as $item)
  • {{ $item['question_text'] }}

    {{ number_format($item['score'], 0) }}% favorable ยท {{ $item['category'] }}

  • @empty
  • No data available yet
  • @endforelse

Areas for Improvement

    @forelse($bottomItems as $item)
  • {{ $item['question_text'] }}

    {{ number_format($item['score'], 0) }}% favorable ยท {{ $item['category'] }}

  • @empty
  • No data available yet
  • @endforelse
@else

No Active Survey

There is no active employee engagement survey at the moment.

@if(auth()->user()->isSuperAdmin()) Create New Survey @else

Please contact your administrator to create a new survey.

@endif
@endif
@endsection @push('scripts') @endpush