@extends("layouts.main") @section('title', Lang::get('Soru Detayı')) @section('content')
@lang('Anket Bilgisi')
@lang('Başlık'): {{ $survey->title }}
@lang('Anket Durumu'): @if($survey->isActive) @lang('Aktif') @else @lang('Pasif') @endif @lang('Anket ID'): #{{ $survey->id }}
@lang('Soru Bilgileri')
@lang('Soru Metni'): {{ $question->question }}
@lang('Soru Tipi'): {{ $question->typeName }}
@lang('Sıra'): {{ $question->order }}
@lang('Zorunlu'): @if($question->isRequired) @lang('Zorunlu') @else @lang('İsteğe Bağlı') @endif
@lang('Durum'): @if($question->isActive) @lang('Aktif') @else @lang('Pasif') @endif
@lang('Oluşturma Tarihi'): {{ $question->createdAt->format('d.m.Y H:i:s') }}
@lang('Güncelleme Tarihi'): {{ $question->updatedAt->format('d.m.Y H:i:s') }}
@lang('Soru ID'): #{{ $question->id }}
@lang('Soru İstatistikleri')
@lang('Sıra Numarası') {{ $question->order }}
@lang('Soru Tipi') {{ $question->typeName }}
@if($question->options && count($question->options) > 0)
@lang('Seçenek Sayısı') {{ count($question->options) }}
@endif
@if($question->options && count($question->options) > 0)
@lang('Soru Seçenekleri')
@foreach($question->options as $index => $option)
{{ $index + 1 }}
{{ is_array($option) ? implode(', ', $option) : $option }}
@endforeach
@endif @if($question->reportText)
@lang('Rapor Metni')

{{ $question->reportText }}

@endif
@lang('Soru Önizlemesi')
@if($question->type == 'single') @if($question->options && count($question->options) > 0) @foreach($question->options as $option)
@endforeach @else
@lang('Bu soru için seçenek tanımlanmamış.')
@endif @elseif($question->type == 'multiple') @if($question->options && count($question->options) > 0) @foreach($question->options as $option)
@endforeach @else
@lang('Bu soru için seçenek tanımlanmamış.')
@endif @endif
@csrf @method('PATCH')
@csrf @method('DELETE')
@endsection