@extends('layout') @section('title','Détail destinataire') @section('content')
Email : {{ $recipient->employee->email }}
Département : {{ $recipient->employee->departments()->pluck('name')->implode(', ') ?: '—' }}
Entité : {{ $recipient->employee->entities()->pluck('name')->implode(', ') ?: '—' }}
Projet : {{ $recipient->employee->projects->pluck('name')->implode(', ') ?: '—' }}
Campagne : {{ $campaign->name }}
Envoyé le : {{ $recipient->sent_at?->format('d/m/Y H:i') ?? '—' }}
1re ouverture : {{ $recipient->opened_at?->format('d/m/Y H:i') ?? '—' }}
1er clic : {{ $recipient->first_clicked_at?->format('d/m/Y H:i') ?? '—' }}
Total clics : {{ $recipient->click_count }}
Identifiants soumis : {{ $recipient->submitted_at ? 'Oui ('.$recipient->submitted_at->format('d/m/Y H:i').')' : 'Non' }}
A signalé le mail : {{ $recipient->reported_at ? 'Oui ✅ ('.$recipient->reported_at->format('d/m/Y H:i').')' : 'Non' }}
| Date & heure | Type | Piège | IP | Localisation | Navigateur |
|---|---|---|---|---|---|
| {{ $e->created_at?->format('d/m/Y H:i:s') }} | @switch($e->event_type) @case('click')Clic@break @case('submit')Identifiants soumis@break @case('report')Signalé 🚩@break @defaultOuverture @endswitch | {{ $e->trap?->label ?? '—' }} | {{ $e->ip ?? '—' }} | {{ $e->location() ?? '—' }} | |
| Aucun événement enregistré (mail pas encore ouvert / cliqué). | |||||