diff --git a/resources/views/customers/show.blade.php b/resources/views/customers/show.blade.php
index a0b2958..d740c94 100644
--- a/resources/views/customers/show.blade.php
+++ b/resources/views/customers/show.blade.php
@@ -53,7 +53,11 @@
| Date de la dernière modification de l'abonnement |
+ @if($customerInfos->customer->optInHistory()->orderBy('created_at', 'DESC')->exists())
{{ \Carbon\Carbon::parse($customerInfos->customer->optInHistory()->orderBy('created_at', 'DESC')->first()->created_at)->format('d/m/Y à H:i') }} |
+ @else
+ |
+ @endif
| Dernière connexion |