@extends('backend.partials.master') @section('title') {{ ___('admin.lead_details_8b2d0a') }} @endsection @section('maincontent')
{{ strtoupper(mb_substr($lead->name, 0, 1)) }}

{{ $lead->name }}

{!! $lead->stageBadge() !!}
  • {{ $lead->phone ?: '—' }}
  • {{ $lead->email ?: '—' }}
  • {{ ___('admin.source_922acd') }} {{ admin_label($lead->source) ?: '—' }}
  • {{ ___('admin.interest_d54a8a') }} {{ $lead->interest ?: '—' }}
  • {{ ___('admin.owner_719379') }} {{ $lead->owner ?: ($lead->assignedTo->name ?? '—') }}
  • {{ ___('admin.value_2139d7') }} {{ currency_symbol() }}{{ number_format($lead->value) }}
@if($lead->notes)

{{ $lead->notes }}

@endif
@if($lead->phone) {{ ___('admin.call_291a0a') }} @endif @if($lead->email) {{ ___('admin.email_84add5') }} @endif @if(hasPermission('crm_update') && str_contains(strtolower($lead->interest ?? ''), 'flight')) {{ ___('admin.convert_to_booking_e30091') }} @endif @if(hasPermission('crm_update') && str_contains(strtolower($lead->interest ?? ''), 'hotel')) {{ ___('admin.convert_to_hotel_booking_3bf557') }} @endif @if(hasPermission('crm_update')) {{ ___('admin.edit_530164') }} @endif

{{ ___('admin.activity_timeline_b2f4be') }}

    @php $iconMap = [ 'Call' => ['fa-phone', 'primary'], 'Email' => ['fa-envelope', 'info'], 'WhatsApp' => ['fa-comment-dots', 'success'], 'Meeting' => ['fa-user', 'warning'], 'SMS' => ['fa-comment', 'secondary'], ]; @endphp @forelse($activities as $a) @php [$icon, $tone] = $iconMap[$a->channel] ?? ['fa-flag', 'secondary']; @endphp
  • {{ $a->subject }}
    @if($a->body)
    {{ $a->body }}
    @endif {{ $a->activity_date?->format('M j, Y') }} @if($a->user) · {{ $a->user->name }} @endif
  • @empty
  • {{ ___('admin.no_activity_logged_yet_9ce4d1') }}
  • @endforelse
  • {{ ___('admin.lead_created_ad418f') }}
    {{ ___('admin.came_in_via_6ac5f3') }} {{ admin_label($lead->source) ?: ___('admin.an_unknown_source_85be9c') }}.
    {{ $lead->created_at->format('M j, Y') }}
@endsection