{!! $doctor->getAccount->account_contact?Str::limit($doctor->getAccount->account_contact->qualifications,60):'' !!}
No of Appointment
No of CheckIn
No of Visit
{!! strtoupper($row->name)??'' !!} SHIFT ({!! isset($date) && $date!='' ?formatedDate($date):'' !!})
# | Token No | Patient Info. | {{--Booking | --}} @if(request()->segment(2)!='patient-display')Check In | @endifAppointment | {{-- @if($status=="Pending")Start | @endif--}} @if(request()->segment(2)!='patient-display')Service | @endifCheck @if($status=="Pending") In @else Out @endif Time | @if(request()->segment(2)!='patient-display') @if($status=="Pending")RESC. | @endif @endif
---|---|---|---|---|---|---|---|---|---|
@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') ?? ''}} | --}} @if(request()->segment(2)!='patient-display')
check_in_status == '1' ? 'checked' : '' }}>
|
@endif
@php $appointment_date_time = \Illuminate\Support\Carbon::parse($list->appointment_date_time); @endphp
{{$appointment_date_time->format('h:i A') ?? '' }}
{{$list->booking_no}} |
{{-- @if($status=="Pending")
consultation_start_date_time != '' ? 'checked' : '' }}>
|
@endif--}}
@if(request()->segment(2)!='patient-display')
@if($list->service_status!="Done") @if($list->check_in_status == '1') @endif @else @if($list->check_in_time) @endif @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(request()->segment(2)!='patient-display')
@if($status=="Pending")
@if($list->service_status!="Done") @endif | @endif @endif