@extends('admin.layout') @section('title', 'Visualizar Usuário') @section('content')

{{ $usuario->name }}

Informações detalhadas do usuário

Informações Básicas

Nome
{{ $usuario->name }}
E-mail
{{ $usuario->email }}
Função
@php $colors = [ 'admin' => 'bg-red-100 text-red-800', 'supervisor' => 'bg-purple-100 text-purple-800', 'operador' => 'bg-blue-100 text-blue-800', 'caixa' => 'bg-green-100 text-green-800', ]; $color = $colors[$usuario->role] ?? 'bg-gray-100 text-gray-800'; @endphp {{ $usuario->role_label }}
Status
@php $colors = [ 'ativo' => 'bg-green-100 text-green-800', 'inativo' => 'bg-gray-100 text-gray-800', 'suspenso' => 'bg-yellow-100 text-yellow-800', 'bloqueado' => 'bg-red-100 text-red-800', ]; $color = $colors[$usuario->status] ?? 'bg-gray-100 text-gray-800'; @endphp {{ $usuario->status_label }}

Informações do Sistema

Evento vinculado
{{ $usuario->evento ? $usuario->evento->titulo : 'Todos os eventos' }}
E-mail verificado
@if($usuario->email_verified_at) {{ $usuario->email_verified_at->format('d/m/Y H:i') }} @else Não verificado @endif
Criado em
{{ $usuario->created_at->format('d/m/Y H:i') }}
Última atualização
{{ $usuario->updated_at->format('d/m/Y H:i') }}

Atividade Recente

Histórico de atividades será implementado em breve

@endsection