@extends('layouts.app') @section('content')

Missed Calls & Callbacks

Reports  ›  Missed Calls
{{-- Filters --}}
@include('reports._date-presets')
{{-- KPI tiles --}} @php $tiles = [ ['label' => 'Callers Missed', 'value' => number_format($kpis['callers']), 'color' => '#3b82f6'], ['label' => 'Outstanding', 'value' => number_format($kpis['outstanding']), 'color' => '#dc2626'], ['label' => 'Resolved', 'value' => number_format($kpis['resolved']), 'color' => '#16a34a'], ['label' => 'Total Attempts', 'value' => number_format($kpis['attempts']), 'color' => '#475569'], ]; @endphp
@foreach($tiles as $t)
{{ $t['label'] }}
{{ $t['value'] }}
@endforeach
Missed callers Newest first · grouped by caller
@forelse($rows as $r) @empty @endforelse
Caller Name Called Attempts First missed Last missed Status Resolved by
{{ $r->number }} {{ $r->name !== '' ? $r->name : '—' }} {{ $r->called }} @if($r->attempts > 1) {{ $r->attempts }} @else {{ $r->attempts }} @endif {{ \Illuminate\Support\Carbon::parse($r->first_at)->format('d M H:i') }} {{ \Illuminate\Support\Carbon::parse($r->last_at)->format('d M H:i') }} @if($r->status === 'outstanding') Outstanding @elseif($r->status === 'got_through') Got through @else Called back @endif @if($r->resolved_by) {{ $r->resolved_by }} {{ \Illuminate\Support\Carbon::parse($r->resolved_at)->format('d M H:i') }} @else — @endif
No missed calls for this period. 🎉
{{-- Drill-down modal --}} @endsection