MEMBRE
{{ strtoupper($member->full_name) }}
ÉGLISE LOCALE
{{ $member->church->name }}
{{ $member->church->city }}, {{ $member->church->country }}
Membre depuis {{ $member->registration_date->format('d/m/Y') }}
@if($member->photo && file_exists(storage_path('app/public/' . $member->photo)))
@php
$photoPath = storage_path('app/public/' . $member->photo);
$imageData = base64_encode(file_get_contents($photoPath));
$imageMime = mime_content_type($photoPath);
$base64Image = 'data:' . $imageMime . ';base64,' . $imageData;
@endphp

@else
?
@endif