@extends('layouts.app') @section('title', $agent->display_name.' — Signatures') @section('content')
Agents

{{ $agent->display_name }}

{{ collect([$agent->job_title, $agent->department])->filter()->join(', ') }}

Annuaire (Entra)

Adresse
{{ $agent->mail ?: '—' }}
Fonction
{{ $agent->job_title ?: '—' }}
Service
{{ $agent->department ?: '—' }}
Téléphone
{{ $agent->business_phone ?: '—' }}
Mobile
{{ $agent->mobile_phone ?: '—' }}
Groupes signature_*
{{ $agent->groups->pluck('display_name')->join(', ') ?: '—' }}
Template appliqué
@if ($template) {{ $template->name }} @else aucun pas de template par défaut publié @endif
Bannière
@if ($campaign) {{ $campaign->name }} @if ($template && ! str_contains((string) $template->html_full, 'banniere')) non affichée : le template n'a pas de bannière @endif @else Aucune campagne en cours pour cet agent @endif
Synchronisé le
{{ $agent->synced_at?->timezone('Europe/Paris')->format('d/m/Y H:i') ?? '—' }}

Nouveau message

@include('partials.signature-frame', ['html' => $full['html'] ?? ''])

Réponse et transfert

@include('partials.signature-frame', ['html' => $reply['html'] ?? '', 'class' => 'short'])
@endsection