Dr. {!! $doctor->getAccount?$doctor->getAccount->name:'' !!}

{!! $doctor->getAccount->account_contact?Str::limit($doctor->getAccount->account_contact->qualifications,60):'' !!}

No of Appointment

{!! $totalDoneAppointment??0 !!}/{!! $totalAppointment??0 !!}

No of CheckIn

{!! $totalCheckInDone??0 !!}/{!! $totalCheckIn??0 !!}

No of Visit

{!! $totalVisitDone??0 !!}/{!! $totalVisit??0 !!}

@php $shiftIds=[]; @endphp @foreach($shiftAvailable as $Keys => $result) @php $shiftIds[$Keys] = $Keys;@endphp @endforeach @php $shiftData = \App\Models\AppointmentShift::whereIn('id',$shiftIds)->orderBy('priority')->get(); @endphp @foreach($shiftData as $shiftIds => $row)

{!! strtoupper($row->name)??'' !!} SHIFT ({!! isset($date) && $date!='' ?formatedDate($date):'' !!})

@if(count($data)>0)
{{----}} @if(request()->segment(2)!='patient-display') @endif {{-- @if($status=="Pending") @endif--}} @if(request()->segment(2)!='patient-display') @endif @if(request()->segment(2)!='patient-display') @if($status=="Pending") @endif @endif @php $i=1;@endphp @foreach($data as $key=> $list) @if($list->shift_id == $row->id) {{----}} @if(request()->segment(2)!='patient-display') @endif {{-- @if($status=="Pending") @endif--}} @if(request()->segment(2)!='patient-display') @endif @if(request()->segment(2)!='patient-display') @if($status=="Pending") @endif @endif @endif @php $i++; @endphp @endforeach
# Token No Patient Info.BookingCheck InAppointmentStartServiceCheck @if($status=="Pending") In @else Out @endif TimeRESC.
@if($list->check_in_status==0) @else @endif {{$list->appointment_serial_no ?? ''}} {{$list->getPatient->account_title->name ?? ''}} {{strtoupper($list->getPatient->name) ?? ''}}
{{$list->getPatient->account_contact->gender->name ?? ''}}{{ isset($list->getPatient->account_contact->date_of_birth) && isset($list->getPatient->account_contact->gender) ? ', ' : '' }} {{ isset($list->getPatient->account_contact->date_of_birth) ? age($list->getPatient->account_contact->date_of_birth) . ' Year`s' : '' }} , {{ isset($list->getPatient->account_contact->phone_no) ?'Ph:'. $list->getPatient->account_contact->phone_no:''}}
@php $booking_date_time = \Illuminate\Support\Carbon::parse($list->booking_date_time); @endphp {{$booking_date_time->format('d-m-Y') ?? ''}}
check_in_status == '1' ? 'checked' : '' }}>
@php $appointment_date_time = \Illuminate\Support\Carbon::parse($list->appointment_date_time); @endphp {{$appointment_date_time->format('h:i A') ?? '' }}
{{$list->booking_no}}
consultation_start_date_time != '' ? 'checked' : '' }}>
@if($list->service_status!="Done") @if($list->check_in_status == '1') @endif @else @if($list->check_in_time) @endif @endif @if($list->check_in_time) Time: @if($status=="Pending") {!! formatedTime($list->check_in_time) !!} @else {!! formatedTime($list->checkout_date_time) !!} @endif @endif @if($list->service_status!="Done") @php $startTime = \Illuminate\Support\Carbon::parse(now()); $finishTime = \Illuminate\Support\Carbon::parse($list->check_in_time); $totalDays = $finishTime->diffInDays($startTime); $totalDuration = $finishTime->diffInHours($startTime) % 24; $totlaMinute = $finishTime->diffInMinutes($startTime) % 60; @endphp @if($list->check_in_time) @if($totalDuration<6 && $totalDays<1)
Since: @if($totalDays>0) {!! $totalDays !!} Days @endif @if($totalDuration>0) {!! $totalDuration !!} hour @endif {!! $totlaMinute !!} minutes @endif @else Not yet arrived! @endif @endif
@if($list->service_status!="Done") @endif
@endif
@endforeach