@extends('layouts.versions.vertical-light') @section('title') عرض الإجابة @endsection @section('css') @endsection @section('content')

عرض الإجابة

تفاصيل الإجابة

{{ $answer->title['ar'] ?? 'غير محدد' }}

{{ $answer->title['en'] ?? 'غير محدد' }}

@if($answer->is_active) نشطة @else غير نشطة @endif

{{ $answer->created_at->format('Y-m-d H:i:s') }}

{{ $answer->updated_at->format('Y-m-d H:i:s') }}

@if($answer->responses->count() > 0)
استخدام هذه الإجابة ({{ $answer->responses->count() }} مرة)
@foreach($answer->responses->take(10) as $response) @endforeach
# المستخدم النوع السؤال التاريخ
{{ $response->id }} {{ $response->getRespondentName() }} {{ $response->getRespondentType() }} {{ $response->question->title['ar'] ?? $response->question->title['en'] ?? '' }} {{ $response->created_at->format('Y-m-d H:i') }}
@if($answer->responses->count() > 10) @endif
@endif
@endsection @section('script') @endsection