@extends('admin.reports.pdf.layout') @php $reportBadge = 'Lista de Hóspedes'; $reportTitle = 'Hóspedes por Check-in'; @endphp @section('content') {{-- KPIs --}}
| # | Hóspede | Documento | UH | Check-in | Check-out | Adultos | Café | Status | Total (R$) |
|---|---|---|---|---|---|---|---|---|---|
| {{ $i+1 }} | {{ $r->guest?->full_name ?? '—' }} | {{ $r->guest?->document ?? '—' }} | {{ $r->room?->name ?? '—' }} | {{ $r->check_in_expected->format('d/m/Y') }} | {{ $r->check_out_expected->format('d/m/Y') }} | {{ $r->adults + $r->children }} | {{ $r->breakfast_included ? '✓' : '—' }} | @if($r->status === 'checked_in') Check-in @elseif($r->status === 'checked_out') Saiu @elseif($r->status === 'confirmed') Aguardando @else {{ $r->status }} @endif | {{ number_format($r->total_expected,2,',','.') }} |
| Nenhum hóspede no período. | |||||||||
| TOTAL: | R$ {{ number_format($reservations->sum('total_expected'),2,',','.') }} | ||||||||