@php $isDenison = !empty($analytics->category_scores) && isset($analytics->category_scores['denison-mission']); $dScores = $analytics->category_scores ?? []; if ($isDenison) { $mission = $dScores['denison-mission'] ?? 0; $adaptability = $dScores['denison-adaptability'] ?? 0; $involvement = $dScores['denison-involvement'] ?? 0; $consistency = $dScores['denison-consistency'] ?? 0; $overallCulture = round(($mission + $adaptability + $involvement + $consistency) / 4, 1); $externalFocus = round(($mission + $adaptability) / 2, 1); $internalFocus = round(($involvement + $consistency) / 2, 1); $flexible = round(($adaptability + $involvement) / 2, 1); $stable = round(($mission + $consistency) / 2, 1); } function pdfScoreColor($score) { if ($score >= 80) return '#16a34a'; if ($score >= 70) return '#65a30d'; if ($score >= 60) return '#ca8a04'; if ($score >= 50) return '#ea580c'; return '#dc2626'; } function pdfScoreLabel($score) { if ($score >= 80) return 'Strong'; if ($score >= 70) return 'Healthy'; if ($score >= 60) return 'Moderate'; if ($score >= 50) return 'Needs Work'; return 'Critical'; } @endphp {{ $isDenison ? 'Culture Assessment Report' : 'Executive Summary' }} - {{ $survey->title }}
@if($isDenison)
{{ $overallCulture }}%
Overall Culture Score
@else
{{ round($analytics->overall_engagement_index) }}%
Engagement Index
@endif

{{ $survey->title }}

{{ $isDenison ? 'Denison Culture Assessment Report' : 'Executive Summary Report' }} | Generated: {{ now()->format('F j, Y') }}

{{ $analytics->total_responses }} respondents | Confidential

@if($lowVolumeWarnings['level'] !== 'none' && count($lowVolumeWarnings['messages']) > 0)
Note: @foreach($lowVolumeWarnings['messages'] as $message) {{ $message }} @endforeach
@endif
Response Overview
{{ $responseStats['total_responses'] }}
Total Responses
@if($responseStats['total_invitations'] > 0)
{{ $responseStats['via_invitation'] }}
Via Invitation
{{ $responseStats['via_direct_link'] }}
Via Direct Link
{{ $responseStats['invitation_response_rate'] }}%
Response Rate
@endif
{{ number_format($analytics->grand_mean ?? 0, 2) }}
Grand Mean
out of 5.0
@if($isDenison) {{-- DENISON QUADRANT --}}
Denison Culture Profile
Internal + Flexible
Involvement
{{ round($involvement) }}%
Empowerment | Team Orientation | Capability Development
{{ pdfScoreLabel($involvement) }}
External + Flexible
Adaptability
{{ round($adaptability) }}%
Creating Change | Stakeholder Focus | Organizational Learning
{{ pdfScoreLabel($adaptability) }}
Internal + Stable
Consistency
{{ round($consistency) }}%
Core Values | Agreement | Coordination & Integration
{{ pdfScoreLabel($consistency) }}
External + Stable
Mission
{{ round($mission) }}%
Strategic Direction | Goals & Objectives | Vision
{{ pdfScoreLabel($mission) }}
External Focus (Mission + Adaptability) {{ $externalFocus }}% Internal Focus (Involvement + Consistency) {{ $internalFocus }}%
Flexibility (Adaptability + Involvement) {{ $flexible }}% Stability (Mission + Consistency) {{ $stable }}%
{{-- Benchmark Comparison Table --}} @if(!empty($benchmarkComparison))
Benchmark Comparison
@foreach($benchmarkComparison as $slug => $bm) @endforeach
Trait Your Score Benchmark Difference Top Quartile Position
{{ $bm['category_icon'] }} {{ $bm['category_name'] }} {{ round($bm['score']) }}% {{ $bm['benchmark_value'] }}% {{ $bm['icon'] }} {{ $bm['diff_text'] }} {{ $bm['top_quartile'] }}% {{ $bm['label'] }}

Source: {{ collect($benchmarkComparison)->pluck('source')->filter()->first() }}

@endif {{-- Sub-Index Breakdown --}} @if(!empty($subIndexScores))
Sub-Index Breakdown (12 Indices)
@foreach($subIndexScores as $trait) @php $traitInterp = \App\Models\Category::getScoreInterpretation($trait['trait_score']); @endphp
{{ $trait['category_icon'] }} {{ $trait['category_name'] }} {{ round($trait['trait_score']) }}% {{ $traitInterp['label'] }}
@foreach($trait['indices'] as $idx) @php $idxInterp = \App\Models\Category::getScoreInterpretation($idx['favorability']); $diff = round($idx['favorability'] - $trait['trait_score'], 1); $diffColor = $diff >= 3 ? '#16a34a' : ($diff <= -3 ? '#dc2626' : '#64748b'); @endphp @endforeach
{{ $idx['name'] }}
{{ round($idx['favorability']) }}% {{ $diff >= 0 ? '+' : '' }}{{ $diff }} x={{ $idx['mean'] }}
@endforeach
@endif @else {{-- Generic engagement classification --}}
Engagement Classification
@endif
{{ $isDenison ? 'Trait Scores' : 'Category Scores' }}
@foreach($categoryData as $cat) @endforeach
{{ $isDenison ? 'Trait' : 'Category' }} Score Status Visual
{{ $cat['icon'] }} {{ $cat['name'] }} {{ round($cat['score']) }}% {{ $cat['interpretation']['label'] }}
Key Insights
Top Strengths Priority Focus Areas
@if($analytics->top_items && count($analytics->top_items) > 0) @foreach(array_slice($analytics->top_items, 0, 5) as $i => $item)

{{ $i + 1 }}. {{ Str::limit($item['question_text'], 55) }} ({{ round($item['score']) }}%)

@endforeach @endif
@if($analytics->bottom_items && count($analytics->bottom_items) > 0) @foreach(array_slice($analytics->bottom_items, 0, 5) as $i => $item)

{{ $i + 1 }}. {{ Str::limit($item['question_text'], 55) }} ({{ round($item['score']) }}%)

@endforeach @endif
@if($isDenison)

Culture Assessment Findings & Recommendations

Based on Denison Organizational Culture Model Analysis

@php $traitData = [ ['name' => 'Mission', 'score' => $mission, 'icon' => 'compass', 'indices' => 'Strategic Direction, Goals & Objectives, Vision'], ['name' => 'Adaptability', 'score' => $adaptability, 'icon' => 'sync-alt', 'indices' => 'Creating Change, Stakeholder Focus, Organizational Learning'], ['name' => 'Involvement', 'score' => $involvement, 'icon' => 'users', 'indices' => 'Empowerment, Team Orientation, Capability Development'], ['name' => 'Consistency', 'score' => $consistency, 'icon' => 'cogs', 'indices' => 'Core Values, Agreement, Coordination & Integration'], ]; usort($traitData, fn($a, $b) => $a['score'] <=> $b['score']); @endphp
Overall Assessment

The assessment of {{ $analytics->total_responses }} respondents reveals a culture profile characterized by strong {{ strtolower($traitData[3]['name']) }} ({{ round($traitData[3]['score']) }}%) with development areas in {{ strtolower($traitData[0]['name']) }} ({{ round($traitData[0]['score']) }}%) and {{ strtolower($traitData[1]['name']) }} ({{ round($traitData[1]['score']) }}%). The overall culture score of {{ $overallCulture }}% indicates {{ $overallCulture >= 70 ? 'a healthy foundation with targeted improvement opportunities' : ($overallCulture >= 60 ? 'moderate cultural health requiring focused interventions' : 'significant cultural challenges requiring comprehensive action') }}.

Trait-by-Trait Analysis
@foreach($traitData as $trait) @php $color = pdfScoreColor($trait['score']); if ($trait['score'] >= 70) { $bg = '#f0fdf4'; $border = '#16a34a'; $status = 'Strength'; } elseif ($trait['score'] >= 60) { $bg = '#fffbeb'; $border = '#ca8a04'; $status = 'Moderate'; } else { $bg = '#fef2f2'; $border = '#dc2626'; $status = 'Requires Attention'; } @endphp
{{ $trait['name'] }} ({{ round($trait['score']) }}%) - {{ $status }}
Indices: {{ $trait['indices'] }}
@if($trait['score'] < 60)
    @if($trait['name'] === 'Adaptability')
  • Create safe-to-fail environments for innovation and experimentation
  • Reduce bureaucratic barriers to enable faster decision-making
  • Implement learning-from-failure reviews without blame
  • @elseif($trait['name'] === 'Involvement')
  • Push decision-making closer to the point of action
  • Invest in team-building and cross-departmental collaboration
  • Create employee voice channels and development plans
  • @elseif($trait['name'] === 'Mission')
  • Conduct strategic alignment workshops across all levels
  • Cascade clear departmental goals linked to overall strategy
  • @elseif($trait['name'] === 'Consistency')
  • Reinforce core values through leadership behavior modeling
  • Improve cross-departmental coordination processes
  • @endif
@elseif($trait['score'] < 70)
Moderate performance. Targeted interventions in specific sub-indices can yield meaningful improvement.
@else
This trait represents an organizational strength. Maintain through continued investment and leadership commitment.
@endif
@endforeach
Priority Actions (Next 90 Days)
Quick Wins (0-30 days)
  • Share survey results transparently with all staff
  • Launch leadership listening sessions
  • Identify and celebrate existing culture strengths
Medium-Term (30-60 days)
  • Form cross-functional culture working groups
  • Design targeted interventions for lowest-scoring traits
  • Begin leadership development aligned to culture goals
Foundational (60-90 days)
  • Develop formal Culture Transformation Roadmap
  • Establish culture KPIs and measurement cadence
  • Launch capability-building programs
About the Denison Model: The Denison Organizational Culture Model is one of the most widely validated culture assessment tools globally, benchmarked against 8,000+ organizations. Scores represent favorability percentage (% rating 4-5 on a 5-point Likert scale).
@endif