@extends('layouts.admin', [ 'title' => 'Customer Report', 'pageTitle' => 'Customer Report', 'active' => 'reports', ]) @section('content')

Analyze acquisition, returning customers, top spenders, and appointment history summaries.

@include('admin.reports.partials.nav', ['activeTab' => 'customers'])
@include('admin.reports.partials.filters')
@foreach ($kpis as $item)

{{ $item['label'] }}

{{ $item['value'] }}

($item['tone'] ?? null) === 'success', 'text-booklio-muted' => ($item['tone'] ?? null) !== 'success'])>{{ $item['note'] }}

@endforeach
@forelse ($growthBars as $bar)
@empty
No new customers in this range.
@endforelse
@foreach ($appointmentHistory as $item)
{{ $item['label'] }}{{ $item['percent'] }}%
@endforeach
@forelse ($customers as $customer) {{ $customer['name'] }} {{ $customer['spent'] }} {{ $customer['appointments'] }} {{ $customer['last'] }} @empty No customers found. @endforelse
@endsection