{{$item->question->answer ?? 'Not Available'}}
@endforeach| Comparison Field | NDMA INFO | HRU INFO |
|---|---|---|
| {{ $nameOfField[$i] }} | @php $beneficiaryValue = $beneficiary_details_data[$key] ?? 'not available'; $hruValue = $hru_data[$key] ?? 'not available'; $color = ($beneficiaryValue === $hruValue) ? 'green' : 'red'; @endphp{{ $beneficiaryValue }} | {{ $hruValue }} |
{{$item->answer ?? 'not available'}}
@endforeach{{$item->question->answer ?? 'not available'}}
@endif @endforeach{{ is_array($item->question->answer) ? 'not available' : ($item->question->answer ?? 'not available') }}
@endif @endforeach @if($third_person_allow=='Yes') @include('dashboard.survey.disabilityData.show', [ 'personName' => 'Third Person', 'questions' => $functional_limitation_third_person->questions ]) @endif @if($fourth_person_allow=='Yes') @include('dashboard.survey.disabilityData.show', [ 'personName' => 'Fourth Person', 'questions' => $functional_limitation_fourth_person->questions ]) @endif @if($fourth_person_allow=='Yes') @include('dashboard.survey.disabilityData.show', [ 'personName' => 'Fifth Person', 'questions' => $functional_limitation_fifth_person->questions ]) @endif{{$item->question->answer ?? 'Not Available'}}
@endforeach{{$item->question->answer ?? 'Not Available'}}
@endforeach{{$item->question->answer ?? 'Not Available'}}
@endforeach{{$item->question->answer ?? 'Not Available'}}
@endforeach{{$item->question->answer ?? 'Not Available'}}
@endforeach{{$item->question->answer ?? 'Not Available'}}
@endforeachNot Available
@endif @endif @endforeach