{{-- Month filter --}} Report period Pick a month to scope the stats and the month-based charts below.
@foreach ($this->getMonthOptions() as $value => $label) @endforeach
{{-- Stats overview for the selected month --}} @livewire(\App\Filament\Widgets\Reports\BookingsStatsOverview::class, ['month' => $month], key('booking-stats-'.$month)) {{-- Month-scoped charts --}}
@livewire(\App\Filament\Widgets\Reports\PaidVsUnpaidChart::class, ['month' => $month], key('paid-unpaid-'.$month)) @livewire(\App\Filament\Widgets\Reports\MostBookedActivityChart::class, ['month' => $month], key('most-booked-'.$month)) @livewire(\App\Filament\Widgets\Reports\BusiestTimesChart::class, ['month' => $month], key('busiest-times-'.$month)) @livewire(\App\Filament\Widgets\Reports\TopCustomersChart::class, ['month' => $month], key('top-customers-'.$month))
{{-- Trend charts (last 12 months, not affected by the month filter) --}}
@livewire(\App\Filament\Widgets\Reports\RevenuePerMonthChart::class) @livewire(\App\Filament\Widgets\Reports\BookingsPerMonthChart::class) @livewire(\App\Filament\Widgets\Reports\CancellationsChart::class)
{{-- Customer insights (all time) --}} @livewire(\App\Filament\Widgets\Reports\CustomerInsightsOverview::class)
@livewire(\App\Filament\Widgets\Reports\TopCancellingCustomersChart::class)