@extends('layouts.admin') @section('title', 'Usuario: ' . $user->name) @section('content')

Detalles del Usuario

ID {{ $user->id }}
Nombre {{ $user->name }}
Email {{ $user->email }}
Roles @foreach($user->roles as $role) {{ $role->name }} @endforeach
Fecha de registro {{ $user->created_at->format('d/m/Y H:i') }}
Última actualización {{ $user->updated_at->format('d/m/Y H:i') }}

Información Adicional

@if($user->agent && $user->agent->photo_file) @else
@endif
{{ $user->name }}

{{ $user->email }}

@if($user->agent)

Agente: {{ $user->agent->active ? 'Activo' : 'Inactivo' }}

@if($user->agent->agency)

Agencia: {{ $user->agent->agency->name }}

@endif @if($user->agent->phone)

Teléfono: {{ $user->agent->phone }}

@endif
@endif
@endsection