{{-- ICTHospital - doctor register. Copyright (c) DEVtrust Part of ICTHospital 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 (Session::get('error'))
{{ Session::get('error') }}
@endif

Doctors

@if ($term !== '') Clear @endif

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

@if ($term !== '') Nothing matched "{{ $term }}". @else No doctors on the register yet. Appointments, prescriptions, lab requests and invoices all pick a doctor from this list, so add at least one before using them. @endif

@else @foreach ($doctors as $doctor) @endforeach
Name Department Phone Email Upcoming appointments Actions
{{ $doctor->name }} {{ $doctor->department }} {{ $doctor->phone }} {{ $doctor->email }} {{ $upcoming[$doctor->id] ?? 0 }}
{{ csrf_field() }}

{{ $doctors->total() }} doctor(s).

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