@props(['item' => new \App\Models\Item()])

{{ $alphabet[$alphabetIndex] }}. {{ $formSection->section_name }}

@foreach ($formSection->formSubSections->sortBy('order_index') ?? [] as $formSubSection)
{{ $formSubSection->section_name }}
@if ($formSubSection->section_name == 'Service Classification')

{{ $application->product_group->parent->parent->name }}

{{ $application->product_group->parent->name }}

{{ $application->product_group->name }}

@else @foreach ($formSubSection->formDetails->where('is_deprecated', false)->sortBy('order_index') as $formDetail) @if (View::exists('pages.apps.evaluation.form-input.input.' . $formDetail->input_type)) @include('pages.apps.evaluation.form-input.input.' . $formDetail->input_type) @elseif ($formDetail->input_type == 'image') {{-- Do Nothing --}} @else @include('pages.apps.evaluation.form-input.input.common') @endif @endforeach @endif
@php $evaluatorReview = $evaluator_reviews->where( 'type', 'section_' . $formSubSection->id, ) ->first(); @endphp

{{ $evaluatorReview?->is_comply == 1 ? 'Comply' : 'Not Comply' }}

{{ $evaluatorReview?->remarks ?? '-' }}

{{ $evaluatorReview?->notes ?? '-' }}

@php $sectionReview = null; if ($application_section && $application_section->review) { $sectionReview = $application_section->review ->where( 'type', 'section_' . $formSubSection->id, ) ->first(); } @endphp
Project Leader Review
id . '_is_comply', optional($sectionReview)->is_comply) == '1' ? 'checked' : '' }} onchange="updateLabel('section_{{ $formSubSection->id }}')">
id . '_is_comply', optional($sectionReview)->is_comply) == '0' ? 'checked' : '' }} onchange="updateLabel('section_{{ $formSubSection->id }}')">
@error('section_' . $formSubSection->id . '_is_comply') {{ $message }} @enderror
is_comply == '0' ? 'required' : '' }} />
is_comply == '1' ? 'required' : '' }} />
@endforeach