@extends('layouts.app') @section('title', 'Edit Lead') @section('page-specific-style') @endsection @section('content')

All Leads > {{ $lead->fullName }} ({{ $lead->lead_code }})

{{-- --}}
@include('includes.alerts')

@if ($lead->is_customer) Is a customer @else @endif {{ $lead->fullName }}

Customer Id {{ $lead->lead_code }}

@csrf @method('PUT')
@error('tags') {{ $message }} @enderror
{{-- @dd($lead->source); --}}
Loading...

@error('first_name')
{{ $message }}
@enderror
@error('middle_name')
{{ $message }}
@enderror
@error('last_name')
{{ $message }}
@enderror

@error('email1')
{{ $message }}
@enderror
@error('email2')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
@error('zip')
{{ $message }}
@enderror
@error('city')
{{ $message }}
@enderror
@error('dob')
{{ $message }}
@enderror
@error('age')
{{ $message }}
@enderror
@error('contact_time')
{{ $message }}
@enderror

@error('budget') {{ $message }} @enderror
@error('annual_income') {{ $message }} @enderror
@error('monthly_income') {{ $message }} @enderror
@error('weekly_income') {{ $message }} @enderror
@error('household_annual_income') {{ $message }} @enderror
@error('household_monthly_income') {{ $message }} @enderror

{{-- --}}
{{-- --}}

@include('modules.leads.includes.upload-document', [ 'linkedEntity' => 'information', 'linkedEntityId' => null, 'key' => 101, 'leadId' => $lead->id, 'documentTypes' => $documentTypes, ]) @php $documents = $lead->attachments ->where('linked_entity', 'information') ->sortByDesc('uploaded_at'); @endphp
@if (count($documents) > 0) @include('modules.leads.includes.document-list', [ 'documents' => $documents, ]) @endif
@include('modules.leads.includes.lead-dependents', [ 'lead' => $lead, 'dependents' => $lead->dependents, 'relationships' => $relationships, 'genders' => $genders, 'languages' => $languages, 'states' => $states, 'countries' => $countries, 'medicaidLevels' => $medicaidLevels, 'enrollmentEligibilities' => $enrollmentEligibilities, 'immigrationStatuses' => $immigrationStatuses, 'otherStatuses' => $otherStatuses, 'passportCountries' => $passportCountries, ])
{{-- Opporunities Tab --}}
@include('modules.leads.includes.lead-opportunities', [ 'lead' => $lead, ])
@include('modules.leads.includes.lead-policies', [ 'lead' => $lead, ])
@include('modules.leads.includes.lead-notes', [ 'lead' => $lead, 'notesTypes' => $notesTypes, ])
@include('modules.leads.includes.lead-recordings', [ 'lead' => $lead, ])
{{-- Activities --}}
@include('modules.leads.includes.lead-activities', [ 'lead' => $lead, ])
@include('modules.leads.includes.lead-documents-tab', [ 'lead' => $lead, 'leadDocuments' => $leadDocuments, ])
{{-- History Tab --}}
@include('modules.leads.includes.lead-history', [ 'lead' => $lead, ])
@csrf
{{-- --}}
0/160 characters
@csrf
@csrf
{{--
--}}
@csrf
@include('modules.leads.includes.modal', [ 'notesTypes' => $notesTypes, ]) @endsection @section('page-specific-script') @endsection