{{ $question->name }}123
{{--
Special title treatment
--}} @if(count($question->useranswer) > 0)

@foreach($question->useranswer as $answer) {!! $answer->answer ?? 'Not Available' !!} {{-- is_array($answer->answer) ? 'Not Available' : ($answer->answer ?? 'Not Available') --}} @endforeach @php $show_button=hideRejectSecond(); @endphp

@if(count($question->decision) == 0 && $show_button==true) @elseif(count($question->decision) > 0 && $show_button==true) @endif @else

Not Available

@endif {{--Go somewhere--}}