@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