@extends('layouts.app') @section('title', 'Admin Dashboard') @section('content')
Visits — last 7 days
@php $max = max(1, $trend->max()); @endphp
@foreach ($trend as $day => $count)
{{ $count }}
{{ $day }}
@endforeach
By status (all time)
Recent activity
@include('appointments._table', ['appointments' => $recent, 'compact' => true])
@endsection