@extends('layouts.base') @section('content') @section('breadcrumb') @endsection @if(session('success'))
{{ $user->firstname ?? '-' }} {{ $user->lastname ?? '-' }}
@if($user->email) @endif @if($user->phones && $user->phones->count() > 0) @foreach($user->phones as $phone){{ format_phone_display($phone->value) }} {{ $phone->type?->label() ?? '-' }}
@endforeach @endifcréé le {{ $user->created_at->format('d/m/Y H:i') }}
Dernière modification : {{ $user->updated_at->format('d/m/Y H:i') }}
@if($user->double_auth) Double authentification : activée @else Double authentification : désactivée @endif
@if($application->subscription_manager) @php $currentSubscription = $user->subscriptions->first(); @endphp @if($currentSubscription)Abonnement : {{ $currentSubscription->name }}
@if($currentSubscription->pivot->subscription_created_at) Début : {{ \Carbon\Carbon::parse($currentSubscription->pivot->subscription_created_at)->format('d/m/Y') }} @endif @if($currentSubscription->pivot->subscription_expires_at) Fin : {{ \Carbon\Carbon::parse($currentSubscription->pivot->subscription_expires_at)->format('d/m/Y') }} @endif @elseAbonnement : Aucun
@endif @endif#{{ $user->id }}
@endifRôle : @if(count($user->visible_roles ?? [])) @foreach($user->visible_roles as $roleName) @php $enum = \App\Enums\Role::tryByName((string) $roleName); if ($enum) { try { $enumColor = $enum->color(); $enumLabel = $enum->label(); } catch (\Throwable $e) { $enumColor = 'secondary'; $enumLabel = $roleName; } } else { $enumColor = 'secondary'; $enumLabel = $roleName; } @endphp @if($enumLabel !== 'Utilisateur') {{ $enumLabel }} @endif @endforeach @else Aucun rôle visible @endif
Aucune commission pour cet utilisateur sur cette application.