@extends('layouts.app') @section('title', 'Reports') @section('content')
Quick range: Today· Last 7 days· This month· Last month
Top hosts
    @forelse ($byHost as $row)
  • {{ $row->host?->name }}{{ $row->total }}
  • @empty
  • No data
  • @endforelse
Visits {{ \Illuminate\Support\Carbon::parse($filters['from'])->format('d M Y') }} — {{ \Illuminate\Support\Carbon::parse($filters['to'])->format('d M Y') }}
@forelse ($appointments as $a) @empty @endforelse
RefVisitorHostScheduledInOutStatus
{{ $a->reference }} {{ $a->visitor->name }}
{{ $a->visitor->company }}
{{ $a->host->name }} {{ $a->scheduled_at->format('d M, h:i A') }} {{ $a->checked_in_at?->format('h:i A') ?? '—' }} {{ $a->checked_out_at?->format('h:i A') ?? '—' }}
No visits in this range.
@if ($appointments->hasPages())@endif
@endsection