@section('title') Update In-Complete Application: {{ $application->type == \App\Models\Application::TYPE_SERVICE ? 'Service' : 'Products' }} @endsection @section('breadcrumbs') {{ __('Application Number: ' . $application->application_no) }} @endsection @include('pages.company.incomplete-application.partials.stepper', ['currentStep' => 2, 'type' => $application->type]) @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(); } $sections = $sections ?? collect(); $applicationSection = $sections->where('section', App\Models\EvaluatorSection::SECTION_APPLICATION)->first(); @endphp

{{ ucfirst($application->type) }} Details

@php $alphabetIndex = 0; @endphp
@csrf @method('PUT')
@foreach ($form->formSections->sortBy('order_index') as $formSection)
@include('pages.company.incomplete-application.partials.3a-form-sections', ['alphabetIndex' => $alphabetIndex++, 'item' => $application->items->first()])
@endforeach
@include('pages.company.incomplete-application.partials.3b-contact-person')
@include('pages.company.incomplete-application.partials.3c-sales-channel')
Back
@include('pages.company.incomplete-application.partials.submit-confirmation')
@push('scripts') @endpush