@extends('admin.layouts.app') @section('title', 'Check-out Guest') @section('page-title', 'Check-out - ' . $booking->booking_number) @section('content')

Check-out Guest: {{ $booking->guest_name }}

Back

Room

{{ $booking->room?->room_number ?? 'N/A' }}

Check-in Date

{{ $booking->check_in_date->format('M d, Y') }}

Check-out Date

{{ $booking->check_out_date->format('M d, Y') }}

Nights Stayed

{{ $booking->nights }}

Folio Summary

@forelse($booking->folio?->charges ?? [] as $charge) @empty @endforelse
Description Amount
{{ $charge->description }} ₦ {{ number_format($charge->amount, 0) }}
Room Charges ₦ {{ number_format($booking->subtotal + $booking->tax_amount, 0) }}
Total Charges ₦ {{ number_format($booking->folio?->total_charges ?? $booking->total_amount, 0) }}
Payments Made - ₦ {{ number_format($booking->folio?->total_payments ?? 0, 0) }}
Balance Due ₦ {{ number_format($booking->folio?->balance ?? $booking->total_amount, 0) }}
@csrf
@if(($booking->folio?->balance ?? $booking->total_amount) > 0)

Guest has outstanding balance!

@else

Folio is settled

@endif
View Full Folio
@endsection