@extends('layouts.app') @section('title', 'Centres de Santé') @section('content')

Centres de Santé

Centres actifs

{{ $activeCenters }}

Total médecins

{{ $totalDoctors }}

Patients inscrits

{{ $totalPatients }}

Consultations/mois

{{ $consultationsThisMonth }}

@if(request()->hasAny(['search', 'status', 'type'])) @endif
Liste des Centres de Santé {{ $healthCenters->total() }} centre(s)
@if($healthCenters->count() > 0)
@foreach($healthCenters as $center) @endforeach
Nom @if(request('sort') === 'name') @endif Contact Adresse Type Médecins Statut Créé le @if(request('sort') === 'created_at') @endif Actions
{{ $center->name }} @if($center->director_name)
Dir: {{ $center->director_name }} @endif
@if($center->phone) {{ $center->phone }}
@endif @if($center->email) {{ $center->email }} @endif
{{ $center->address }} @if($center->city)
{{ $center->city }} @endif
{{ ucfirst($center->type ?? 'Non défini') }} {{ $center->doctors_count ?? 0 }} @if($center->is_active) Actif @else Inactif @endif {{ $center->created_at->format('d/m/Y') }}
{{ $center->created_at->format('H:i') }}
Affichage de {{ $healthCenters->firstItem() }} à {{ $healthCenters->lastItem() }} sur {{ $healthCenters->total() }} centres
{{ $healthCenters->withQueryString()->links() }}
@else
Aucun centre de santé trouvé

@if(request()->hasAny(['search', 'status', 'type'])) Aucun centre ne correspond à vos critères de recherche.
Voir tous les centres @else Il n'y a encore aucun centre de santé enregistré.
Créer le premier centre @endif

@endif
@endsection @push('scripts') @endpush