@extends('layouts.app') @section('content')
| Agent | Connected | Desk Phone | Webphone | Softphone | Total Talk | Avg Talk |
|---|---|---|---|---|---|---|
| Agent #{{ $a->connected_agent_id }} | {{ $a->calls_connected }} | {{ $a->desk_phone_calls }} | {{ $a->webphone_calls }} | {{ $a->softphone_calls }} | {{ gmdate('H:i:s', $a->total_talk_seconds ?? 0) }} | {{ $a->avg_talk_seconds ? round($a->avg_talk_seconds) . 's' : '—' }} |
| No agent data yet. | ||||||
| Date | Customer | Number | Reason | Wait (sec) |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($nc->created_at)->format('d M H:i') }} | {{ $nc->customer_name ?? '—' }} | {{ $nc->phone_number_dialled }} | {{ ucfirst(str_replace('_', ' ', $nc->not_connected_reason ?? 'unknown')) }} | {{ $nc->customer_waiting_seconds ?? '—' }} |
| No failed connections recorded. | ||||
| Outcome | Type | Count |
|---|---|---|
| {{ $o->label }} | {{ $o->is_system ? 'System' : 'Conversation' }} | {{ $o->count }} |
| No outcomes recorded yet. | ||