@include('components.background',['data'=>$data,'name'=>'background','fit'=>'cover'])
@include('screens.intro', ['data'=> $data])
@foreach($data->questions as $key => $question)
- @php($coundown_enabled = $question["countdown_enable"])
- @include('screens.question_'.$question['type'], ['theme' => $data->theme,'data'=> $data, 'question' => $question, 'max' => $totalQuestion, 'position' => $key, 'alphabet' => $alphabet, 'countdown' => $coundown_enabled])
+
+ @include('screens.question_'.$question['type'], ['theme' => $data->theme,'data'=> $data, 'question' => $question, 'max' => $totalQuestion, 'position' => $key, 'alphabet' => $alphabet, 'countdown' => isset($question['countdown_enable']) && $question["countdown_enable"]])
@endforeach
@include('screens.outro', ['data'=> $data])
<div id="instantReviewAnimation"></div>