{{-- resources/views/reports/guests.blade.php --}} @extends('layouts.app') @section('title', 'Guest Report') @section('page_title', 'Guest Report') @section('page_subtitle', $from->format('d M Y') . ' — ' . $to->format('d M Y')) @section('content') @include('reports.partials.nav') @include('reports.partials.filters', ['route' => 'reports.guests'])
{{ $total_stays }}
Total Stays
{{ $new_guests }}
New Guests
{{ $returning_guests }}
Returning
{{ $total_adults + $total_children }}
Total Pax {{ $total_adults }}A + {{ $total_children }}C
{{-- By Nationality --}}
Top Nationalities
@php $natTotal = $by_nationality->sum(); @endphp @forelse($by_nationality as $nat => $count)
{{ $nat }} {{ $count }} ({{ $natTotal > 0 ? round(($count / $natTotal) * 100, 0) : 0 }}%)
@empty

No nationality data available

@endforelse
@endsection