Total Calls
{{ $calls->total() }}
With Recordings
{{ $calls->filter(fn($c) => $c->recording_url)->count() }}
Transcribed
{{ $calls->filter(fn($c) => $c->transcription && $c->transcription->status === 'completed')->count() }}
| User | Book / Chapter | Phone | Duration | Status | Transcription | Date | Actions |
|---|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($call->user->name ?? '?', 0, 1)) }}
{{ $call->user->name ?? 'Unknown' }} {{ $call->user->email ?? '' }} |
@if($call->chapter && $call->chapter->book)
{{ Str::limit($call->chapter->book->title, 25) }} {{ Str::limit($call->chapter->title, 30) }} @else N/A @endif |
{{ $call->phone_number ?? 'N/A' }} | {{ $call->formatted_duration }} | @php $statusMap = [ 'completed' => 'badge-success', 'initiated' => 'badge-info', 'in_progress' => 'badge-warning', 'failed' => 'badge-danger', ]; @endphp {{ ucfirst(str_replace('_', ' ', $call->status ?? 'unknown')) }} | @if($call->transcription) @if($call->transcription->status === 'completed') Done @elseif($call->transcription->status === 'pending') Pending @else Failed @endif @elseif($call->recording_url) Not started @else No recording @endif | {{ $call->created_at->format('M d, Y H:i') }} | View |
| No calls found | |||||||