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

All Patients

Back
@if(session('success'))
{{ session('success') }}
@endif
@forelse($patients as $patient) @empty @endforelse
Patient ID Name Appointments Prescriptions
{{ $patient->patient_id }}
{{ $patient->full_name }}
@if($patient->identity_number)
ID: {{ $patient->identity_number }}
@endif
{{ $patient->appointments_count }} {{ $patient->prescriptions_count }}
No patients found.
@if($patients->count() > 0)
Showing {{ $patients->count() }} patient(s)
@endif
@endsection