@foreach($questions as $child)
@php
$answerObj = $child->answer ?? null;
$btnStatus = $answerObj->btn_status ?? 'yes';
$uniqueName = "yesno_" . $child->id;
@endphp
@if($child->notes)
{!! $child->notes !!}
@endif
@if($child->children->isNotEmpty())
@include('front.includes.question-children', ['questions' => $child->children])
@endif
@endforeach