@extends('admin.layout.dashboard-template') @section('content')
@php $hour = date('H'); if ($hour >= 20) { $greetings = "Good Night"; } elseif ($hour > 17) { $greetings = "Good Evening"; } elseif ($hour > 11) { $greetings = "Good Afternoon"; } elseif ($hour < 12) { $greetings="Good Morning" ; } @endphp

{{$greetings}}, {{auth()->guard('admin')->user()->name}}

Have a nice day at work

Appointments

{{count(App\Models\Appointments::all())}}

Therapist

{{count(App\Models\Therapist::all())}}

Clients

{{count(App\Models\User::all())}}

Blogs

{{count(App\Models\Blog::all())}}

Consultation Report

Income

$ 20,560

40% vs last month

Therapist List

Show all
@foreach(App\Models\Therapist::limit(7)->get() as $item)

{{$item->full_name}}

{{$item->providerCategory->name}}

{{$item->professional_credentials}},{{$item->designation}}

@endforeach

Upcoming Appointments

Show all
@foreach(App\Models\Appointments::where('Appointment_Date', '>=', date('Y-m-d'))->orderBy('Appointment_Date', 'DESC')->limit(10)->get() as $item) @endforeach
Status Patient name Doctor Time Call Method
{{$item->user->First_Name}} {{$item->user->Last_Name}}

{{$item->therapist->prefix}} {{$item->therapist->full_name}}

{{date('d M Y', strtotime($item->Appointment_Date))}} at {{$item->Appointment_Time}}

Packages

show all
@foreach(App\Models\Package::limit(5)->get() as $item) @endforeach
Package Name Number of Sessions Start Date End Date Discount
{{$item->title}} {{$item->no_of_sessions }} {{date('d M Y', strtotime($item->start_date))}} {{date('d M Y', strtotime($item->endt_date))}} {{$item->discount}}
@endsection