@extends('admin.layouts.app') @section('title', 'Lead #' . $lead->id) @section('page-title', 'Lead Detail') @section('content')
{{ strtoupper(substr($lead->name ?: $lead->phone, 0, 1)) }}

{{ $lead->name ?: 'Name not provided' }}

Lead #{{ $lead->id }} - {{ $lead->created_at->format('d M Y, h:i A') }}

{{ $lead->statusLabel() }}
@php $info = [ ['Phone', $lead->phone], ['Email', $lead->email ?: '-'], ['Country', $lead->country_name ?: '-'], ['Source', $lead->source ?: 'Direct'], ['Page URL', $lead->page_url ? \Str::limit($lead->page_url, 40) : '-'], ['IP', $lead->ip_address ?: '-'], ['UTM Medium', $lead->utm_medium ?: '-'], ['Campaign', $lead->utm_campaign ?: '-'], ]; @endphp @foreach($info as [$label, $value])
{{ $label }} {{ $value }}
@endforeach

Activity And Notes

@foreach(['note' => 'Note', 'call' => 'Call', 'email' => 'Email', 'whatsapp' => 'WhatsApp'] as $type => $label) @endforeach
@forelse($lead->leadNotes as $note) @include('admin.leads._note', ['note' => $note]) @empty

No notes yet. Add the first one above.

@endforelse

Update Status

Assign To

@csrf @method('DELETE')
@endsection @push('scripts') @endpush