@extends('layouts.admin') @section('title', 'Agentes de Soporte') @section('content')
| Agente | Rol | Estado | Tickets | Activos | Acciones |
|---|---|---|---|---|---|
|
{{ strtoupper(substr($agent->name, 0, 2)) }}
{{ $agent->name }} {{ $agent->email }} |
@php $roleColors = ['admin' => 'text-red-400', 'supervisor' => 'text-yellow-400', 'agent' => 'text-blue-400']; @endphp {{ ucfirst($agent->role) }} | {{ $agent->tickets_count }} | {{ $agent->open_tickets_count }} / {{ $agent->max_tickets }} | @if($agent->open_tickets_count == 0) @else Con tickets @endif | |
| No hay agentes. Agrega uno usando el formulario de arriba. | |||||