{{$index+1}}
|
@if($list->appointmentNo != null)
{{(optional($list)->appointmentDate)}} ({{(optional($list)->appointmentNo)}})
@endif
|
@if($list->doctorName != null)
{{(optional($list)->doctorName)}}
@endif
|
@if($list->patient != null)
{{(optional($list)->patient->name)}}
@endif
|
@if($list->patient != null)
{{(optional($list)->patient->registrationNo)}}
@endif
|
@if($list->patient != null)
{{-- {{$Controller::dateFormatter(optional($list)->patient->dob)}} --}}
{{\Carbon\Carbon::parse($list->patient->dob)->diff(\Carbon\Carbon::now())->format('%y Y %m M %d D')}}
@endif
|
@if($list->appointmentStartTime != null && $list->appointmentEndTime!=null)
{{ date('h:i A', strtotime($list->appointmentStartTime))}} - {{ date('h:i A', strtotime($list->appointmentEndTime)) }}
@endif
|
@if($list->isPresent!= false)
Present at {{ date('h:i A', strtotime($list->presentTime))}}
@endif
|
@if($list->isCanceled == true)
Canceled at {{ date('h:i A', strtotime($list->canceledTime))}}
@endif
|
@if($list->isCompleted == true)
Completed
@endif
|
@endforeach