@extends('employee.layouts.app') @section('title', 'Lead - ' . ($lead->name ?: $lead->phone)) @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') }}

@foreach([ ['Phone', $lead->phone], ['Email', $lead->email ?: '-'], ['Country', $lead->country_name ?: '-'], ['Source', $lead->source ?: 'Direct'], ] 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)
{{ $note->typeIcon() }}
{{ $note->user->name }} {{ $note->created_at->diffForHumans() }}

{{ $note->note }}

@empty

No notes yet.

@endforelse

Update Status

Rejection reason is required.

Quick Actions

Call @if($lead->email) Email @endif WhatsApp
@endsection @push('scripts') @endpush