{{ $survey->title }}
@if($survey->description)

{{ $survey->description }}

@endif
@if($answers->count() > 0)
@foreach($answers as $answer)
{{ $answer->question->question ?? 'Soru bulunamadı' }}
@if($answer->question && $answer->question->type) {{ $answer->question->typeName ?? $answer->question->type }} @endif
@lang("Cevap:")  {{ $answer->answer ?? '-' }}
@if($answer->reportText)
@lang("Rapor Metni:")  {{ $answer->reportText }}
@endif
{{ $answer->createdAt ? $answer->createdAt->format('d.m.Y H:i') : '-' }} @if($answer->isSelected)
@lang("Seçildi") @endif
@if($answer->question && $answer->question->options && count($answer->question->options) > 0)
@lang("Mevcut Seçenekler:")
@foreach($answer->question->options as $index => $option)
{{ $index + 1 }}. {{ is_array($option) ? implode(', ', $option) : $option }}
@endforeach
@endif
@endforeach
@lang("Özet:")  @lang("Toplam") {{ $answers->count() }} @lang("soruya cevap verilmiş.") @if($survey->questions()->count() > 0) @lang("Tamamlama oranı:") {{ round(($answers->count() / $survey->questions()->count()) * 100, 1) }}% @endif
@else
@lang("Bu ankete henüz cevap verilmemiş.")
@endif