@section('title') Approval Form @endsection @include('pages.apps.evaluation.partials.approval_stepper', ['currentStep' => 1, 'role' => 'project-director'])

{{ ucfirst($application->type) . __(' Details') }}

@php $alphabet = range('A', 'Z'); $alphabetIndex = 0; $form = null; $forms = App\Models\Form::with('formSections.formSubSections.formDetails')->where('sub_category_id', $application->product_group->parent_id)->get(); if ($forms->count() > 0) { $subCategoryForm = $forms->whereNull('product_group_id')->first(); $productGroupForm = $forms->where('product_group_id', $application->product_group_id)->first(); $form = $productGroupForm ? $productGroupForm : $subCategoryForm; } if (!$form) { $form = App\Models\Form::with('formSections.formSubSections.formDetails')->where('type', $application->type)->where('is_common', 1)->first(); } @endphp
@php $alphabetIndex = 0; @endphp
@foreach ($form->formSections->sortBy('order_index') as $formSection)
@include('pages.apps.evaluation.project-director.partials.2-1-1-items-form-section', ['alphabetIndex' => $alphabetIndex++, 'item' => $item])
@endforeach
Back Proceed
@push('scripts') @endpush