@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 ?? '-' }}

Project Leader Review
@php $plReview = null; if ($application_section && $application_section->review) { $plReview = $application_section->review ->where('type', 'section_' . $formSubSection->id) ->first(); } @endphp
{{ $plReview->is_comply == 1 ? 'Comply' : 'Not Comply' }}
{{ $plReview->remarks }}
@endforeach