@if($selectedPatient) Back to {{ explode(' ', $selectedPatient->full_name)[0] }}'s Profile @endif Patients Public Display
Total Visits

{{ $stats['total'] }}

Total Little Patients

Waiting

{{ $stats['pending'] }}

Children Waiting

Completed

{{ $stats['completed'] }}

Visits Completed

Today's Income

₹{{ number_format($stats['revenue'], 0) }}

Total Payment

@if(count($patients) || (strlen($searchPatient) >= 3 && count($patients) === 0))
@if(count($patients))
@foreach($patients as $p)
{{ substr($p->first_name, 0, 1) }}

{{ $p->full_name }}

ID: {{ $p->uhid }} · {{ $p->phone }}

CHOOSE
@endforeach
@else

Patient unrecognized in Registry

System ID: "{{ $searchPatient }}"

@endif
@endif

Queue Monitor

Launch Public Display

{{ config('app.name','Children Clinic') }}

Specialized Pediatric Care

Live Status
@forelse($todayConsultations as $consult)
#{{ str_pad($consult->token_number, 2, '0', STR_PAD_LEFT) }}

{{ $consult->patient?->full_name ?? 'Unknown Patient' }}

{{ $consult->service?->name ?? 'OPD Visit' }} · {{ $consult->doctor?->full_name ?? 'Any' }}

{{ $consult->patient?->uhid ?? 'N/A' }} · {{ $consult->patient?->gender ?? 'N/A' }} · {{ $consult->patient?->age ?? 'N/A' }}

@php $billStatus = $consult->bill?->payment_status; $paid = $consult->bill ? (float) $consult->bill->paid_amount : 0; $due = $consult->bill ? max(0, (float) $consult->bill->balance_amount) : 0; @endphp @if($billStatus === 'Paid' || $consult->payment_status === 'Paid') PAID

{{ $consult->bill?->payment_method ?? $consult->payment_method }}

@elseif($billStatus === 'Partially Paid') PARTIAL

Paid ₹{{ number_format($paid, 0) }} · Due ₹{{ number_format($due, 0) }}

@else UNPAID @endif
@if($consult->status !== 'Cancelled')
Print @if($consult->bill) Print Bill Collect @endif
@endif
@empty

The queue is currently empty

@endforelse
@if($todayConsultations->hasPages())
{{ $todayConsultations->links() }}
@endif
@if($selectedPatient)

Visit Details

@error('selectedService') {{ $message }} @enderror
@error('selectedDoctor') {{ $message }} @enderror
@error('consultation_date') {{ $message }} @enderror

Validity Auto-Extended: {{ \Carbon\Carbon::parse($valid_upto)->format('D, d M' ) }}

Health Check

@error('weight') {{ $message }} @enderror
@error('height') {{ $message }} @enderror
@error('temperature') {{ $message }} @enderror
@if($growthStatus)
Growth Tracking: {{ $growthStatus['age_label'] }}
WT: {{ $growthStatus['weight']['status'] }} HT: {{ $growthStatus['height']['status'] }}

W. Range (kg)

{{ $growthStatus['weight']['expected_range'] }}

H. Range (cm)

{{ $growthStatus['height']['expected_range'] }}

@if($growthForecast)
Growth Forecast (Expected Median)
@foreach($growthForecast as $milestone)

{{ $milestone['label'] }}

{{ number_format($milestone['data']['weight'], 1) }}kg

{{ number_format($milestone['data']['height'], 1) }}cm

@endforeach
@endif
@endif
@if($isFollowUp)
FREE FOLLOW-UP
@endif
REALTIME
@error('fee')

{{ $message }}

@enderror
@error('paymentStatus')

{{ $message }}

@enderror @if($paymentStatus === 'Partially Paid') @error('amountPaid')

{{ $message }}

@enderror @endif @error('paymentMode')

{{ $message }}

@enderror
@if(!$activeBookingFound) @else

Active Booking Found

@endif
@endif