@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('patients.appointments') }}

@include('flash::message')
@foreach($appointments as $appointment) @endforeach
{{ __('patients.patient_name') }} {{ __('patients.clinic') }} {{ __('patients.incharge') }} {{ __('patients.appointment_time') }} {{ __('patients.patient_contact') }} {{ __('patients.comments') }}
{{ get_full_name($appointment->patient_id, 'id', 'first_name', 'last_name', 'patients') }} {{ get_name($appointment->clinic_allocation, 'id', 'name', 'clinics') }} @if($appointment->incharge_id != 0) {{ get_full_name($appointment->incharge_id, 'id', 'first_name', 'last_name', 'users') }} @else N/A @endif {{ $appointment->appointment_date }} at {{ $appointment->appointment_time }} {{ get_name($appointment->patient_id, 'id', 'phone', 'patients') }} {{ $appointment->comments }} Select
@endsection @push('scripts') @endpush