@extends('layouts.app') @section('title', 'Conversation Detail') @section('topbar-actions') ← Back @endsection @section('content')
Conversation Details
@php $rows = [ 'ID' => $conversation->google_conversation_id, 'Type' => $conversation->type, 'Participant' => $conversation->participant_type ?? '—', 'Event Time' => $conversation->event_at?->format('M j, Y g:i A') ?? '—', ]; if ($conversation->call_duration_seconds) { $rows['Call Duration'] = gmdate('i:s', $conversation->call_duration_seconds); } @endphp @foreach($rows as $label => $value) @endforeach
{{ $label }} {{ $value }}
@if($conversation->call_recording_url) @endif
@if($conversation->message_text)
Message Content

{{ $conversation->message_text }}

@endif @if($conversation->lead)
Associated Lead

{{ $conversation->lead->consumer_name ?? 'Unknown' }}

{{ $conversation->lead->consumer_phone_number }}

{{ $conversation->lead->lead_type }} — {{ $conversation->lead->lead_status }}

@endif
@endsection