@extends('layouts.app') @section('title', 'Dashboard Call Center') @section('content')

Dashboard Call Center

Estadísticas y análisis de interacciones

Total Interacciones
{{ number_format($totalLogs) }}
Período seleccionado
Interacciones Hoy
{{ number_format($todayLogs) }}
Registradas hoy
Seguimientos Vencidos
{{ number_format($pendingFollowUps) }}
Requieren atención
Seguimientos Hoy
{{ number_format($todayFollowUps) }}
Programados para hoy
Interacciones por Tipo
@if($byType->count() > 0)
@foreach($byType as $type => $count)
{{ $type }} {{ number_format($count) }}
@endforeach
@else

No hay datos para mostrar

@endif
Interacciones por Estado
@if($byStatus->count() > 0)
@foreach($byStatus as $status => $count)
{{ $status }} {{ number_format($count) }}
@endforeach
@else

No hay datos para mostrar

@endif
@if($byOutcome->count() > 0)
Interacciones por Resultado
@foreach($byOutcome as $outcome => $count) @endforeach
Resultado Cantidad
{{ $outcome }} {{ number_format($count) }}
@endif
Top 10 Agentes
@if($byAgent->count() > 0)
@foreach($byAgent as $agent) @endforeach
Agente Interacciones
{{ $agent['user'] }} {{ number_format($agent['count']) }}
@else

No hay datos para mostrar

@endif
Interacciones por Día (Últimos 30 días)
@if($dailyLogs->count() > 0) @else

No hay datos para mostrar

@endif
Top 10 Clientes
@if($topClients->count() > 0)
@foreach($topClients as $client)
{{ $client['client'] }} {{ $client['count'] }}
@endforeach
@else

No hay datos para mostrar

@endif
Pagos Programados

{{ number_format($scheduledPayments) }}

Pagos programados en el período

Pagos Programados Vencidos

{{ number_format($overdueScheduledPayments) }}

Pagos programados vencidos

@if($overdueScheduledPayments > 0) Ver Detalles @endif
@endsection @push('scripts') @endpush