@extends('layouts.app') @section('title', $personne->nom_complet) @section('header', $personne->nom_complet) @section('content')
@if($prev) ← {{ $prev->nom_complet }} @endif @if($next) {{ $next->nom_complet }} → @endif
Retour à la liste

Informations

Nom :
{{ $personne->nom }}
Prénom :
{{ $personne->prenom }}
Email :
{{ $personne->email ?? '—' }}
Email perso. :
{{ $personne->email_personnel ?? '—' }}
Tél. :
{{ $personne->telephone ?? '—' }}
Mobile :
{{ $personne->mobile ?? '—' }}
Statut :
{{ $personne->statut }}
Service :
{{ $personne->service ?? '—' }}
Direction :
{{ $personne->direction ?? '—' }}
Site :
{{ $personne->site ?? '—' }}
Bureau :
{{ $personne->bureau ?? '—' }}
@php $m365Compte = $comptes->first(fn($c) => $c->application?->code === 'Microsoft365'); @endphp @if($m365Compte && !empty($m365Compte->email_aliases))
Alias M365 :
{{ implode(', ', $m365Compte->email_aliases) }}
@endif

Comptes associés

@if($comptes->count()) @foreach ($comptes as $c) @endforeach
ApplicationLoginÉtat
{{ $c->application?->nom ?? '—' }} {{ $c->login ?? '—' }} {{ $c->etat }}
@else

Aucun compte associé.

@endif

Historique des accès

@if(count($historique)) @foreach ($historique as $h) @endforeach
GroupeCompteDébutFinMotifTicket
{{ $h['groupe']['nom'] ?? '?' }} {{ $h['compte']['login'] ?? '?' }} {{ $h['date_debut'] ? \Carbon\Carbon::parse($h['date_debut'])->format('d/m/Y') : '—' }} {{ $h['date_fin'] ? \Carbon\Carbon::parse($h['date_fin'])->format('d/m/Y') : '—' }} {{ $h['motif'] ?? '—' }} {{ $h['reference_ticket'] ?? '—' }}
@else

Aucun historique.

@endif
@endsection