{{-- --}}
--}} {{-- --}} {{-- @if($data->bannerUrl != null || $data->bannerUrl != undefined) @endif --}} {{-- --}} {{-- @if(isset($data->bannerUrl) && $data->bannerUrl != "") @endif
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
--}} {{-- Appointment List ({{$data -> doctorName}})--}} {{-- --}} {{--
Date : {{ date('d/m/Y', strtotime($data-> scheduledate)) }}
@foreach ($data ->printList as $index => $list) @endforeach
SL Appointment Date&No Doctor Name Registration No Age Appointment Time Present Time Cancel Status
{{$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
{{----}}