@extends('layouts.app') @section('title', 'Liste des Patients') @section('content')

Patients

Nouveau Patient
@if($patients->count() > 0)
@foreach($patients as $patient) @endforeach
N° Patient Nom complet Âge Sexe Téléphone Actions
{{ $patient->patient_number }} {{ $patient->full_name }} {{ $patient->age }} ans @php $genderText = match($patient->gender) { 'male' => 'Homme', 'female' => 'Femme', 'other' => 'Autre', default => $patient->gender }; @endphp {{ $genderText }} {{ $patient->phone ?? '-' }}
{{ $patients->links() }}
@else
Aucun patient enregistré

Commencez par ajouter votre premier patient.

Ajouter un patient
@endif
@endsection