{{-- DTHospital - patient list. Copyright (c) ICT Innovations Part of DTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content') @if (Session::get('success'))
{{ Session::get('success') }}
@endif
@if ($term !== '') Clear @endif

@if ($patients->total() === 0)

@if ($term !== '') Nothing matched "{{ $term }}". @else No patients registered yet. @endif

@else @foreach ($patients as $patient) @endforeach
Patient ID Name Age Sex Phone Doctor Registered Actions
{{ $patient->patient_id }} {{ $patient->name }} {{ $patient->age }} {{ ucfirst($patient->sex) }} {{ $patient->phone }} {{ $patient->doctor }} {{ $patient->add_date }}
{{ csrf_field() }}

{{ $patients->total() }} patient(s).

{!! $patients->links() !!} @endif
@stop @section('script') @stop