{{-- Left: Back button --}} {{-- Center: Title --}}

Réconciliation - Étape 1/2

{{-- Right: Spacer --}}
{{-- Note: Le layout gère automatiquement max-w-5xl --}}
{{-- Info box --}}

Demande d'inscription #{{ $registrationRequest->id }}

Locataire : {{ strtoupper($registrationRequest->last_name) }} {{ $registrationRequest->first_name }}
Adresse : {{ $registrationRequest->address }} @if($registrationRequest->apartment_number) - Appt {{ $registrationRequest->apartment_number }} @endif

{{-- Search form with Alpine.js debounce --}}

Rechercher l'adhérent existant

{{-- Spinner de chargement --}}
{{-- Bouton Réinitialiser (conditionnel) --}} @if($search) @endif

La recherche s'effectue automatiquement pendant la frappe sur le numéro adhérent, le nom, ou le prénom

{{-- Results --}} @if($members->count() > 0)

Sélectionner un adhérent

{{-- MOBILE: Cartes pliables --}}
@foreach($members as $member)
{{-- Clickable header (always visible) --}} {{-- Expanded content --}}
{{-- Email --}}
Email

@if($member->email) {{ $member->email }} @else - @endif

{{-- Téléphone --}}
Téléphone

@if($member->phone) {{ format_phone($member->phone) }} @else - @endif

{{-- Bouton Sélectionner --}}
@endforeach
{{-- DESKTOP: Table --}} {{-- Pagination --}}
{{ $members->appends(['search' => $search])->links() }}
@else

Aucun adhérent trouvé

@if($search) Aucun adhérent ne correspond à votre recherche "{{ $search }}". @else Effectuez une recherche pour trouver l'adhérent à réconcilier. @endif

@endif