@extends('layouts.app') @section('title', 'Centres de Santé') @section('content')
| 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') }} |
@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