{{-- Reusing class for styling --}}
{{-- Display the primary name of the lead --}}

{{ $lead->lead_type == 'individual' ? $lead->customer_name : $lead->business_name }}

{{-- This section displays the core lead info with icons, similar to the job detail page --}}

apartment {{ optional($lead->kuaCompany)->name ?? 'N/A' }}

widgets {{ optional($lead->kuaProduct)->product_name ?? 'N/A' }}

tag {{ ucfirst($lead->lead_type) }} Lead

phone {{ $lead->phone_number ?? 'Not Provided'}}

email {{ $lead->email ?? 'Not Provided' }}

room {{ ucfirst(optional($lead->kuaRegion)->region_name ?? 'N/A') }}

event Closes: {{ \Carbon\Carbon::parse($lead->expected_closure_date)->format('d M, Y') }}

@if($lead->lead_type == 'business')

person Contact: {{ $lead->contact_person_name ?? 'Not Provided' }}

@else

work Occupation: {{ $lead->occupation ?? 'Not Provided' }}

@endif
{{-- Tab-like structure to separate details --}}
@if($lead->lead_type == 'business' && $lead->business_description)

Business Description

{{ $lead->business_description ?? 'Not Provided' }}

@endif @if($lead->notes)

Notes

{!! nl2br(e($lead->notes)) !!}

@endif @if(!$lead->notes && !($lead->lead_type == 'business' && $lead->business_description))

No additional details or notes were provided for this lead.

@endif