@if(!empty($data))
@csrf

{{$data->question}}

@if($data->question_type == 'Numeric - Open-end')
@elseif($data->question_type == 'Single Punch') @if(count($data->questionAnswer)<3) @foreach ($data->questionAnswer as $item)
@endforeach @else
@endif @elseif($data->question_type == 'Multi Punch')
@foreach ($data->questionAnswer as $item)
@endforeach
@elseif($data->question_type == 'Dummy')
@endif
@php $count = $total_question; $total_answer = $answered_question; $final = ($total_answer/$count)*100; @endphp

{{round($final)}}%

@else
Your This Section Complete
@endif