@extends('layouts.admin') @section('title') @lang('translation.Perfil Usuario') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Usuarios @endslot @slot('title') Perfil de {{ $usuario->nombre }} {{ $usuario->apellido }} @endslot @endcomponent
{{ ucfirst($usuario->rol) }}
{{ $usuario->email }}
{{ $usuario->telefono }}
{{ $usuario->direccion }}
{{ $usuario->tipo_documento }} {{ $usuario->numero_documento }}
{{ $usuario->fecha_nacimiento->format('d/m/Y') }} ({{ $usuario->fecha_nacimiento->age }} años)
{{ ucfirst($usuario->genero) }}
{{ $usuario->profesion }}
{{ $usuario->created_at->format('d/m/Y H:i') }}
({{ $usuario->created_at->diffForHumans() }}){{ $usuario->updated_at->format('d/m/Y H:i') }}
({{ $usuario->updated_at->diffForHumans() }}){{ $usuario->last_login_at->format('d/m/Y H:i') }}
({{ $usuario->last_login_at->diffForHumans() }}){{ $usuario->email_verified_at->format('d/m/Y H:i') }}
{{ $usuario->observaciones }}
Total Reservas
Total Pagado
Eventos
Reservas Activas
| ID | Cancha | Fecha | Hora | Estado | Total | Acciones |
|---|---|---|---|---|---|---|
| #{{ $reserva->id }} | {{ $reserva->cancha->nombre ?? 'N/A' }} | {{ $reserva->fecha ? $reserva->fecha->format('d/m/Y') : 'N/A' }} | {{ $reserva->hora_inicio }} - {{ $reserva->hora_fin }} | {{ ucfirst($reserva->estado) }} | {{ format_currency($reserva->precio_total ?? 0, 0) }} | |
| No hay reservas registradas | ||||||
| ID | Reserva | Método | Monto | Estado | Fecha | Acciones |
|---|---|---|---|---|---|---|
| #{{ $pago->id }} | #{{ $pago->reserva_id }} | {{ ucfirst($pago->metodo_pago ?? 'N/A') }} | {{ format_currency($pago->monto ?? 0, 0) }} | {{ ucfirst($pago->estado ?? 'pendiente') }} | {{ $pago->created_at ? $pago->created_at->format('d/m/Y H:i') : 'N/A' }} |
@if($pago->estado == 'completado')
@endif
|
| No hay pagos registrados | ||||||
| ID | Evento | Fecha | Rol | Estado | Acciones |
|---|---|---|---|---|---|
| #{{ $evento->id }} | {{ $evento->nombre ?? 'N/A' }} | {{ $evento->fecha_inicio ? $evento->fecha_inicio->format('d/m/Y') : 'N/A' }} | {{ $evento->pivot->rol ?? 'Participante' }} | {{ ucfirst($evento->estado ?? 'inactivo') }} | |
| No hay eventos registrados | |||||
{{ $item['descripcion'] }}
{{ $item['fecha'] }}