@extends('layouts.app') @section('title', 'Conversations') @section('content')
Clear
@forelse($conversations as $conv) @empty @endforelse
Type Participant Lead Content Preview Event Time
@if($conv->type === 'PHONE_CALLING') 📞 Call @elseif($conv->type === 'MESSAGE') 💬 Message @elseif($conv->type === 'EMAIL') 📧 Email @else {{ $conv->type }} @endif {{ $conv->participant_type ?? '—' }} @if($conv->lead) {{ $conv->lead->consumer_name ?? $conv->google_lead_id }} @else {{ Str::limit($conv->google_lead_id, 30) }} @endif @if($conv->message_text) {{ Str::limit($conv->message_text, 80) }} @elseif($conv->call_duration_seconds) ⏱ {{ gmdate('i:s', $conv->call_duration_seconds) }} @else @endif {{ $conv->event_at?->format('M j, Y g:i A') ?? '—' }} View
No conversations found.
@endsection