Aucun membre ou chambre ne correspond à votre recherche.
{{ $chambre->nom_chambre }} Ordonnance {{ $derniereAnneeChambre }}
@foreach($affectationsOrdonnees as $aff)
@php
$membre = $aff->membre;
// Détection si le membre actuel est président pour appliquer les styles
$isPresident = str_contains(strtolower($aff->fonction), 'président') || str_contains(strtolower($aff->fonction), 'president');
@endphp
{{-- Conteneur Photo --}}
@endforeach
@if($membre->photo_url)
@else
@endif
{{-- Détails du Membre --}}
{{-- Fonction (Badge) --}}
@if($isPresident)
{{ $aff->fonction ?? 'Président de Chambre' }}
@else
{{ $aff->fonction ?? 'Membre' }}
@endif
{{-- Nom --}}
{{ $membre->prenoms }} {{ strtoupper($membre->nom) }}
{{-- Titre --}}
{{ $aff->titre }}
Aucun membre n'est actuellement enregistré dans le système.