{{ $user->name }}

Agent Performance Dashboard

@if($period !== 'all')

{{ $startDate->format('M d, Y') }} - {{ $endDate->format('M d, Y') }}

@endif

Total Calls

{{ number_format($totalCalls) }}

All Attempts

Success Rate

{{ number_format($successRate, 1) }}%

{{ $callStatusBreakdown->get('picked', 0) }} Picked

Avg Duration

{{ $avgDuration ? floor($avgDuration / 60) : 0 }}m

{{ $avgDuration ? floor($avgDuration % 60) : 0 }}s

Agencies Onboarded

{{ number_format($agenciesOnboarded) }}

Conversions

Call Status Breakdown

Picked
{{ $callStatusBreakdown->get('picked', 0) }} ({{ $totalCalls > 0 ? number_format(($callStatusBreakdown->get('picked', 0) / $totalCalls) * 100, 1) : 0 }}%)
Missed
{{ $callStatusBreakdown->get('missed', 0) }} ({{ $totalCalls > 0 ? number_format(($callStatusBreakdown->get('missed', 0) / $totalCalls) * 100, 1) : 0 }}%)
Call Back
{{ $callStatusBreakdown->get('call_back', 0) }} ({{ $totalCalls > 0 ? number_format(($callStatusBreakdown->get('call_back', 0) / $totalCalls) * 100, 1) : 0 }}%)
Declined
{{ $callStatusBreakdown->get('declined', 0) }} ({{ $totalCalls > 0 ? number_format(($callStatusBreakdown->get('declined', 0) / $totalCalls) * 100, 1) : 0 }}%)
Invalid
{{ $callStatusBreakdown->get('invalid', 0) }} ({{ $totalCalls > 0 ? number_format(($callStatusBreakdown->get('invalid', 0) / $totalCalls) * 100, 1) : 0 }}%)

Recent Call History

@forelse($recentCalls as $call) @empty @endforelse
Date & Time Entity Phone Status Duration Notes
{{ $call->called_at->format('M d, Y') }}
{{ $call->called_at->format('h:i A') }}
{{ $call->callable->name ?? 'N/A' }}
{{ class_basename($call->callable_type) }}
{{ $call->phone_number }}
@if($call->call_status === 'picked') Picked @elseif($call->call_status === 'missed') Missed @elseif($call->call_status === 'call_back') Call Back @elseif($call->call_status === 'declined') Declined @else Invalid @endif
{{ $call->formatted_duration }}
{{ $call->notes ?? '-' }}

No call history found