Overview
@if ($lead->instagram_psid) Instagram @endif @if ($lead->facebook_psid) Messenger @endif WhatsApp Phone
Current Workflow {{ str($lead->workflow?->name)->replace('_', ' ')->ucfirst() }}
{{-- workflow view --}} @include('dashboard.leads.utils.tabs.workflow-view')
@if ($lead->facebook_psid) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- info view --}} @include('dashboard.leads.utils.tabs.info-view')
Comments
@php $oldComments = old( 'comments', is_array($lead->comments) ? $lead->comments : [$lead->comments], ); @endphp @foreach ($oldComments as $index => $comment)
@endforeach

Add more comments

@error('comments.*')
{{ $message }}
@enderror
update
@if ($lead->parent_id && $lead->first_name == $lead->parent->fathers_name)
@if ($lead->pricingplantype->name == 'Family') Family @endif @if ($lead->pricingplantype->name == 'B2B') Company @endif
@php $addStudentUrl = env('ADD_NEW_STUDENT_URL') . '?parent_id=' . $lead->parent_id . '&plan_type_id=' . $lead->plan_type_id; @endphp
@forelse ($lead->parent->student as $student) @php $lead_id = \App\Models\Lead::where('student_id', $student->id)->first()->id; @endphp @empty @endforelse
First Name last Name Email Mobile
{{ $student->first_name }} {{ $student->last_name }} {{ $student->email }} {{ $student->mobile }}
No student exist
@endif @if ($getCurrentLeadUserReferraledsUsers->count())
@foreach ($getCurrentLeadUserReferraledsUsers as $getCurrentLeadUserReferraledsUser) @endforeach
Full Name Phone Number Email
{{ $getCurrentLeadUserReferraledsUser->lead->first_name ?? 'N/A' }} {{ $getCurrentLeadUserReferraledsUser->lead->phone ?? 'N/A' }} {{ $getCurrentLeadUserReferraledsUser->lead->email ?? 'N/A' }}
@endif @if (!is_null($lead->student_id)) {{-- invoice view --}} @include('dashboard.leads.utils.tabs.invoice-view') {{-- test view --}} @include('dashboard.leads.utils.tabs.test-view') @endif
{{-- demo view --}} @include('dashboard.leads.utils.tabs.demo-view')