Reporte de Interacciones - Call Center

Generado el: {{ now()->format('d/m/Y H:i:s') }}

Total de interacciones: {{ $logs->count() }}

@if($stats['total'] > 0)

Estadísticas

@if($stats['by_outcome']->count() > 0) @endif
Por Estado: @foreach($stats['by_status'] as $status => $count) {{ $status }}: {{ $count }}{{ !$loop->last ? ', ' : '' }} @endforeach
Por Tipo: @foreach($stats['by_type'] as $type => $count) {{ $type }}: {{ $count }}{{ !$loop->last ? ', ' : '' }} @endforeach
Por Resultado: @foreach($stats['by_outcome'] as $outcome => $count) {{ $outcome }}: {{ $count }}{{ !$loop->last ? ', ' : '' }} @endforeach
@endif @forelse($logs as $log) @empty @endforelse
ID Fecha Cliente Agente Tipo Estado Resultado Fecha Seguimiento Notas
{{ $log->id }} {{ $log->created_at->format('d/m/Y H:i') }} {{ $log->client->business_name ?? 'N/A' }} {{ $log->user->name ?? 'N/A' }} {{ $log->interaction_type }} {{ $log->status }} {{ $log->outcome ?? 'N/A' }} {{ $log->follow_up_date ? $log->follow_up_date->format('d/m/Y H:i') : 'N/A' }} {{ \Illuminate\Support\Str::limit($log->notes, 50) }}
No hay interacciones para mostrar