@extends('layouts.app') @section('title', 'Check-out') @section('page_title', 'Check-out') @section('page_subtitle')Departures pending check-out — {{ now()->format('F j, Y') }}@endsection @section('nav_checkout', 'bg-teal-50 text-teal-700 font-semibold') @section('content') @if (session('success'))
{{ session('success') }}
Due Today
{{ $stats['today'] }}
Checking out
Overdue
{{ $stats['overdue'] }}
Past checkout date
Total In-House
{{ $stats['in_house'] }}
Currently checked in
Balance to Collect
₱{{ number_format($departures->sum(fn($r) => $r->balanceDue()), 0) }}
Total outstanding
{{ now()->format('l, F j, Y') }}
No pending departures
All guests due today have checked out.
| Booking # | Guest | Room | Check-in | Check-out Date | Nights | Total | Deposit | Balance Due | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $res->booking_no }} @if ($res->group_id) @endif |
{{ strtoupper(substr($res->guest_name, 0, 1)) }}{{ strtoupper(substr(explode(' ', $res->guest_name)[1] ?? 'X', 0, 1)) }}
{{ $res->guest_name }} {{ $res->guest_phone }} |
Room {{ $res->room_no }} {{ $res->room_type }} |
{{ $res->check_in->format('M j, Y') }} |
{{ $res->check_out->format('M j, Y') }} @if ($overdue)Overdue @elseToday @endif |
{{ $res->nights }}N |
₱{{ number_format($res->amount, 0) }} ₱{{ number_format($res->rate, 0) }}/night |
@if ($res->deposit_paid)
₱{{ number_format($res->deposit_amount, 0) }} {{ $res->deposit_method }} @else No deposit @endif |
@if ($balance > 0)
₱{{ number_format($balance, 0) }} of ₱{{ number_format($res->amount, 0) }} @else Settled @endif |
Check Out |