@extends('layouts.branch') @section('title', 'Dashboard') @section('header', 'Branch Dashboard') @section('content')
Branch Unit
{{ auth()->guard('branch')->user()->name }}
Code
{{ auth()->guard('branch')->user()->outlet_code }}
OPD {{ $selectedDate === today()->format('Y-m-d') ? 'Today' : 'Count' }}
{{ number_format($todayOpdCount) }}
Called
{{ number_format($todayCalledCount) }}
In Queue
{{ number_format($todayRemainingCount) }}
IPD {{ $selectedDate === today()->format('Y-m-d') ? 'Today' : 'Count' }}
{{ number_format($todayIpdCount) }}
Patient counts per doctor for {{ $selectedDate === today()->format('Y-m-d') ? 'today' : \Carbon\Carbon::parse($selectedDate)->format('d M, Y') }}
Select Date
| Consulting Doctor | Called | Unattended | Total | Activity Status |
|---|---|---|---|---|
|
{{ substr($stats['name'], 0, 1) }}
{{ $stats['name'] }}{{ $stats['code'] }} |
{{ number_format($stats['called']) }}
Consulted
|
{{ number_format($stats['remaining']) }}
Waiting
|
{{ number_format($stats['count']) }}
Total
|
Active Now |
Quiet Day AheadConsultants will appear here as registrations are processed. |
||||
Real-time room availability across all types