@extends('admin.layouts.app') @section('content')

{{($organization->name)}}

Create Questionnaire Form

@if (count($tabs) != 0) Report Settings @endif Add Tab @if ( 3 == Auth::user()->user_type_id ) Back @else Back @endif
@foreach ($tabs as $key => $tab)
Add Question Add
@if (isset($tab->tabQuestion)) @foreach ($tab->tabQuestion as $qkey => $question)

{{ $question->question_text }}

@if( 'True_or_False' == $question->question_type || 'Yes_or_No' == $question->question_type ) @php $arr_option = explode(",", $question->question_option); @endphp @foreach ( $arr_option as $option )
@endforeach @endif @if( 'Multiple_Choice' == $question->question_type || 'Multiple_Select' == $question->question_type ) @php $arr_choice = explode(",", $question->question_option); @endphp
@endif @if( 'Date' == $question->question_type || 'Number' == $question->question_type || 'Short_Answer' == $question->question_type)
@endif @if( 'Free_Text' == $question->question_type )
@endif @if( $question->is_triggered )

This is triggered question.

@endif
@endforeach @endif
@endforeach
@if (count($tabs) == 0)
{{ __('organizationuser.no_result') }}
@endif @endsection