@extends('layouts.base2') @section('title', 'Interface de gestion des clients') @push('styles') @endpush @section('content') @section('titlePage') @adminbarreau

Liste des contacts

@endadminbarreau @avocatuser

Recherche un confrère

@endavocatuser @stop
@include('layouts.flash-message') @adminbarreau
@livewire('back.contact.contact-list')
@endadminbarreau @if($contacts) @avocatuser
@csrf
Rechercher un avocat par nom et prénom
{{-- Champ Nom --}}
@error('name'){{ $message }}@enderror
{{-- Champ Prénom --}}
@error('prenom'){{ $message }}@enderror
--}}
@endavocatuser @endif @if(optional($contacts)->count())
@if(!$contacts) Résultats de la recherche @else contact(s) trouvé @endif
@adminbarreau @endadminbarreau @foreach($contacts as $contact) @adminbarreau @endadminbarreau @endforeach
NOM COMPLET N° TOGE TÉLÉPHONE EMAIL DATE D'AJOUT
{{ $contact->name }} {{ $contact->prenom }} {{ $contact->num_toge ?? '—' }} {{ $contact->telephone ?? '—' }} {{ $contact->email ?? '—' }}{{ \Carbon\Carbon::parse($contact->created_at)->locale('fr')->translatedFormat('d F Y') }}
@elseif(isset($contacts) && isset($estTrouver) && $estTrouver==false) @endif
@stop @section('footer') @stop