- Skip ahead
-
-
-
{{-- show re time --}}
@if(isset($app) && !empty($app))
{{ $app->appointment_type->appointment_type ?? "" }}
@if(count($practitionerserviceProvider)!=0)
{{ $app->practitioner->full_name?? "" }}
@endif
{{ date_format(date_create($app->date), "l dS F Y") }} {{date('h:i a', strtotime($app->time))}}
@endif
{{-- @if(count($upcomingAppointments)) --}}
@if(isset($app) && !empty($app))
@if(count($upcomingAppointments)==0)
No appointment booked
@endif
@foreach($upcomingAppointments as $apps)
@if($loop->iteration==1)
{{ $apps->appointment_type->appointment_type ?? "" }}
@if(count($practitionerserviceProvider)!=0)
{{ $apps->practitioner->full_name?? "" }}
@endif
{{ date_format(date_create($apps->date), "l dS F Y") }} {{date('h:i a', strtotime($apps->time))}}
@endif
@if($loop->iteration==2)
View more appointments
@endif
@endforeach
@foreach($upcomingAppointments as $apps)
@if($loop->iteration!=1)
{{ $apps->appointment_type->appointment_type ?? "" }}
@if(count($practitionerserviceProvider)!=0)
{{ $apps->practitioner->full_name?? "" }}
@endif
{{ date_format(date_create($apps->date), "l dS F Y") }} {{date('h:i a', strtotime($apps->time))}}
@endif
@endforeach
@endif