@extends('layouts.app') @section('title') @lang('Application Form') @endsection @section('css') @endsection @php use App\Models\Info\FactoringType; use App\Models\Info\FactoringCategory; use App\Models\LeadApplicant; $preFactoringTypes = FactoringType::where('facility_code', FactoringCategory::CODE_PRE_FACTORING) ->orderBy('description') ->get(); $factoringTypes_ = FactoringType::where('facility_code', FactoringCategory::CODE_FACTORING) ->orderBy('description') ->get(); $leadIndividual = optional($lead->applicant)->applicant_type == LeadApplicant::APPLICANT_INDIVIDUAL; $toastSuccess = collect([ 'success', 'init_success', 'applicant_success', 'shareholder_success', 'bank_success', 'contract_success', 'payee_success', 'declaration_success', 'certification_success', 'doc_success', 'fee_success', ])->map(fn ($key) => session($key))->filter()->first(); @endphp @section('content') @component('components.breadcrumb') @slot('li_1') Lead @endslot @slot('title') Application Form @endslot @endcomponent {{-- Alert Messages --}} @if (session('error'))
{{ $doc->notes }}
@endif @if($doc->template_path) Download Template @endif @if($hasConsentDoc)