{{ $question_with_response->question }}
@php $count_array = array(); $value_array = array(); @endphp @if(isset($rating_responce->id)) @foreach (json_decode($rating_responce->response) as $responce_name) @php $count_value = answer_value_count($responce_name, $polling->id); $count_array[] = $count_value; $value_array[] = $responce_name; @endphp
{{ $count_value }} {{ $responce_name }}
@endforeach @endif @php $count_array = json_encode($count_array); $value_array = json_encode($value_array); @endphp
{{ $question_with_response->notes }}
Action