@php use App\Enums\Leads\FlagType; use App\Enums\Leads\SourceType; use App\Enums\Leads\StatusType; use App\Enums\Leads\TypeOfContact; @endphp @extends('components.dashboard.layout.layout') @section('content') @include('components.alert')
Back
@csrf {{-- Personal Information --}}
Personal Information

Enter the lead identity, contact details, source, and academic interest information.

First name *
Last name *
Email *
Phone *
Address *
Nationality * @foreach ($nationalities as $nationality) @endforeach
Religion *
Gender *
Country * @foreach ($countriesSelect as $id => $name) @endforeach
Source * @foreach (SourceType::cases() as $i => $source) @endforeach
Type of contact * @foreach (TypeOfContact::cases() as $type) @endforeach
Track type * @foreach ($trackTypesSelect as $id => $name) @endforeach
Program * @foreach ($programs as $program) @endforeach
@error('date_of_birth')
{{ $message }}
@enderror
{{-- Professional Details --}}
Professional Details

Define the lead’s work background, assignee, plan type, and optional parent relation.

Industry * @foreach (App\Enums\IndustryEnum::cases() as $industry) @endforeach
Position *
Ad code *
Assigned to @foreach ($usersSelect as $id => $fullName) @endforeach
Lead plan type * @foreach ($getPricingPlanType as $plan_type) @endforeach @php $b2b = $getPricingPlanType->where('name', 'B2B')->first(); $family = $getPricingPlanType->where('name', 'Family')->first(); @endphp @if ($b2b) @endif @if ($family) @endif
Select B2B Parent * @foreach ($getB2BParents as $b2b) @endforeach
Select Family Parent * @foreach ($getfamilyParents as $family) @endforeach
{{-- Lead Management --}}
Lead Management

Set the lead flag, choose the first creation action, and add any internal notes.

Flag * @foreach (FlagType::cases() as $flag) @endforeach
Creation Action *
Notes {{ old('notes') }}
Cancel
@endsection @push('scripts') @endpush