@extends('admin.reports.pdf.layout') @php $reportBadge = 'Relatório Gerencial'; $reportTitle = 'Resumo Executivo'; $maxMethod = $byMethod->max('total') ?: 1; @endphp @section('content') {{-- KPIs principais --}}
| Localizador | Hóspede | UH | Check-in | Check-out | Status |
|---|---|---|---|---|---|
| #{{ $r->locator }} | {{ $r->guest?->full_name ?? '—' }} | {{ $r->room?->name ?? '—' }} | {{ $r->check_in_expected->format('d/m/Y') }} | {{ $r->check_out_expected->format('d/m/Y') }} | @if($r->status === 'checked_in') Check-in @elseif($r->status === 'checked_out') Checkout @elseif($r->status === 'confirmed') Confirmada @else {{ ucfirst($r->status) }} @endif |
| Nenhuma reserva no período. | |||||
| Receita Bruta | R$ {{ number_format($totalRevenue,2,',','.') }} |
| Média por Reserva | R$ {{ $totalReservations > 0 ? number_format($totalRevenue/$totalReservations,2,',','.') : '—' }} |
| RevPAR (por UH/dia) | R$ {{ number_format($revpar,2,',','.') }} |
| Total de Dias Analisado | {{ $days }} |
| UHs Disponíveis | {{ $totalRooms }} |
| Reservas Ativas | {{ $totalReservations }} |
| Cancelamentos | {{ $totalCanceled }} |