Prévia do relatório

{{ $campaign->name }}

Voltar Gerar PDF

Relatório Psicossocial

{{ $campaign->name }}

{{ auth()->user()->currentTenant()->company_name }}

{{ now()->format('d/m/Y') }}

@foreach($sections->where('key', '!=', 'summary') as $section)
{{ $loop->iteration }}. {{ $section['title'] }} {{ $section['page'] }}
@endforeach
@if(! empty($settings['intro_text']))

{{ $settings['intro_text'] }}

@endif @if(! empty($settings['methodology_text']))

{{ $settings['methodology_text'] }}

@endif

Campanha

{{ $campaign->name }}

Questionário

{{ $campaign->questionnaireVersion?->questionnaire?->name ?? '-' }}

Convidados

{{ $summary['invited'] }}

Respondentes

{{ $summary['answered'] }}

Taxa de resposta

{{ $summary['responseRate'] }}%

Média geral

{{ $summary['generalScore'] ?? '-' }}

{{ $summary['generalRisk']['name'] }}
@php $dimensionResultsSection = $sections->firstWhere('key', 'dimension_results'); @endphp @if($dimensionResultsSection)
@foreach($resultsByDimension as $result) @endforeach
Dimensão Respondentes Média Classificação
{{ $result->dimension_name }} {{ $result->respondents_count }} {{ $result->score }} {{ $result->risk }}
@endif @php $recommendationsSection = $sections->firstWhere('key', 'recommendations'); @endphp @if($recommendationsSection) @foreach($recommendationPages as $pageIndex => $items)
@foreach($items as $recommendation)

{{ $recommendation->title }}

{{ $recommendation->dimension?->name ?? 'Todas as dimensões' }} — {{ $recommendation->risk_level }}

@if($recommendation->description)

{{ $recommendation->description }}

@endif
@endforeach
@endforeach @endif @php $actionPlanSection = $sections->firstWhere('key', 'action_plan'); @endphp @if($actionPlanSection) @foreach($actionPlanPages as $pageIndex => $items)
@foreach($items as $plan) @endforeach
Dimensão Risco Ação sugerida Responsável Prazo
{{ $plan->dimension?->name ?? 'Todas' }} {{ $plan->risk_level }} {{ $plan->suggested_action }} {{ $plan->responsible_area ?: '-' }} {{ $plan->deadline_days ? $plan->deadline_days . ' dias' : '-' }}
@endforeach @endif @php $technicalNotesSection = $sections->firstWhere('key', 'technical_notes'); @endphp @if($technicalNotesSection) @if(! empty($settings['pgr_note']))

Nota técnica PGR / NR-1

{{ $settings['pgr_note'] }}

@endif @if(! empty($settings['lgpd_text']))

LGPD e confidencialidade

{{ $settings['lgpd_text'] }}

@endif
@endif