@extends('layouts.app') @section('content')

Reports & Analytics

Appointment Report Revenue Report Doctor Performance
@foreach([ ['Total Appointments',$totalAppointments,'primary'], ['Today',$todayAppointments,'info'], ['Completed',$completedAppointments,'success'], ['Cancelled',$cancelledAppointments,'danger'], ['Total Revenue','₹ '.number_format($totalRevenue,2),'dark'], ['This Month','₹ '.number_format($monthlyRevenue,2),'warning'], ['Pending Payments',$pendingPayments,'secondary'], ['Patients',$patients,'primary'], ] as $metric)
{{ $metric[0] }}

{{ $metric[1] }}

@endforeach
Appointment Trend
@forelse($monthlyAppointments as $item) @empty @endforelse
MonthAppointments
{{ $item->month }}{{ $item->total }}
No appointment data.
Appointment Status
@forelse($statusBreakdown as $item) @empty @endforelse
StatusTotal
{{ ucfirst($item->status) }}{{ $item->total }}
No data.
@endsection