@if($pdfView) @else @endif @livewireStyles
@svg('logo',"h-36 w-36")
@if(!$pdfView) @endif
@if($pdfView)
@endif

Bilan de la session

@svg('icon-fontawesome.svgs.solid.school','h-8 w-8 fill-current text-gray-200 mr-4 ') {!! $pdfView ? 'Établissement : ' : '' !!} {{$session->school->name}}
@svg('icon-fontawesome.svgs.solid.user-group','h-8 w-8 fill-current text-gray-200 mr-4') {{$session->title}}
@if(isset($session->school->contact)) @svg('icon-fontawesome.svgs.solid.user-check','h-8 w-8 fill-current text-gray-200 mr-4') Contact : {{$session->school->contact}} @endif
@svg('icon-fontawesome.svgs.solid.chalkboard-user','h-8 w-8 fill-current text-gray-200 mr-4 ') {!! $pdfView ? 'Formateur : ' : '' !!}{{ucfirst($session->animator->name)}}
@svg('icon-fontawesome.svgs.regular.calendar-days','h-8 w-8 fill-current text-gray-200 mr-4') {!! $pdfView ? 'Date : ' : '' !!}{{ucfirst($session->created_at->format('d M Y'))}}
@svg('icon-fontawesome.svgs.regular.user','h-8 w-8 fill-current text-gray-200 mr-4') {{$countParticipants}} participants

Questions fermées

@if(isset($resultByQuestion) && $resultByQuestion !== null) @foreach($questions as $question)
{{$question->question}}
@if(round($resultByQuestion[$question->id]*100/$countParticipants,1) == 0)
0%
@else
{{round($resultByQuestion[$question->id]*100/$countParticipants,1)}} %
@endif
@endforeach

Questions ouvertes

@foreach($openQuestions as $k => $openQuestion)
{{$openQuestion->question}}
@foreach($openQuestion->purposesThroughAnswers->countBy('label') as $label => $countInGroup)

{{ $label }} : {{round($countInGroup*100/$openQuestion->answers_count,1)}} %

{{--{{ $label }} : {{ $countInGroup }}/{{$openQuestion->answers_count}}--}} @if(round($countInGroup*100/$openQuestion->answers_count,1) == 0)
0%
@else
@endif
@endforeach @endforeach @if(!$pdfView)
@livewire('send-report',['animateur' => $session->animator->name , 'date' => $session->created_at->format('d M Y'), 'attachmentContent' => $file, 'schoolEmail' => $session->school->email ])

Commentaires parmi les réactions positives ({{count($positiveAnswers)}})

@foreach($positiveAnswers as $index => $positiveAnswer)
{{$positiveAnswer->question->question}}
De {{$positiveAnswer->participant->pseudo}} : "{{$positiveAnswer->comment}}"
@endforeach
{{--
    @foreach($positiveAnswers as $positiveAnswer)
  • "{{$positiveAnswer->question->question}}"
    De {{$positiveAnswer->participant->pseudo}} : "{{$positiveAnswer->comment}}"
  • @endforeach
--}}

Commentaires parmi les réactions négatives ({{count($negativeAnswers)}})

    @foreach($negativeAnswers as $negativeAnswer)
  • "{{$negativeAnswer->question->question}}"
    De {{$negativeAnswer->participant->pseudo}} : "{{$negativeAnswer->comment}}"
  • @endforeach

Commentaires parmi les questions ouvertes ({{count($openQuestionsComments)}})

    @foreach($openQuestionsComments as $openQuestionsComment)
  • "{{$openQuestionsComment->question->question}}"
    De {{$openQuestionsComment->participant->pseudo}} : "{{$openQuestionsComment->comment}}"
  • @endforeach
@endif @else

Pas encore de résultats disponibles pour cette session

@endif
@if(!$pdfView) @include('footer') @else

Adhéos association LGBTI & friendly
5, passage Ancienne Caserne
17100 Saintes
Tél : 06 26 39 66 13
web : https://www.adheos.org

@endif
@livewireScripts