Call Details
{{-- Breadcrumb --}}
Calls Call #{{ $call->id }}
{{-- Main Info --}}
{{-- Call Details Card --}}

Call Information

@php $statusMap = [ 'completed' => 'badge-success', 'initiated' => 'badge-info', 'in_progress' => 'badge-warning', 'failed' => 'badge-danger', ]; @endphp {{ ucfirst(str_replace('_', ' ', $call->status ?? 'unknown')) }}
Phone Number
{{ $call->phone_number ?? 'N/A' }}
Duration
{{ $call->formatted_duration }}
Started At
{{ $call->started_at ? $call->started_at->format('M d, Y H:i:s') : 'N/A' }}
Ended At
{{ $call->ended_at ? $call->ended_at->format('M d, Y H:i:s') : 'N/A' }}
Call ID
{{ $call->call_id ?? 'N/A' }}
Created
{{ $call->created_at->format('M d, Y H:i:s') }}
@if($call->error_message)
Error: {{ $call->error_message }}
@endif
{{-- Recording --}} @if($call->recording_url)

Recording

{{ $call->recording_url }}

@endif {{-- Transcription --}} @if($call->transcription)

Transcription

@if($call->transcription->status === 'completed') Completed @elseif($call->transcription->status === 'pending') Pending @else Failed @endif
@if($call->transcription->transcript)
{{ $call->transcription->word_count ?? 0 }} words {{ $call->transcription->confidence ?? 0 }}% confidence
{{ $call->transcription->transcript }}
@else

No transcript available.

@endif
@endif
{{-- Sidebar --}}
{{-- User --}}

User

@if($call->user)
{{ strtoupper(substr($call->user->name, 0, 1)) }}

{{ $call->user->name }}

{{ $call->user->email }}

@else

User not found

@endif
{{-- Book / Chapter --}} @if($call->chapter)

Book & Chapter

@if($call->chapter->book)

{{ $call->chapter->book->title }}

@endif

Chapter: {{ $call->chapter->title }}

Status: {{ ucfirst($call->chapter->status) }}

@endif