@extends('admin.layouts.app') @section('title', 'Reception') @section('page-title', 'Front Desk') @section('content')

Pending

{{ $stats['pending'] }}

Confirmed

{{ $stats['confirmed'] }}

Checked In

{{ $stats['checked_in'] }}

Checked Out Today

{{ $stats['checked_out'] }}

All Pending Active Checked Out
Walk-in Check-in
@forelse($bookings as $booking) @empty @endforelse
Guest Room Check-in Check-out Status Balance Actions

{{ $booking->guest_name }}

{{ $booking->guest_phone }}

{{ $booking->booking_number }}

{{ $booking->room?->room_number ?? '-' }}
{{ $booking->roomType?->name }}
{{ $booking->check_in_date->format('M d, Y') }} {{ $booking->check_out_date->format('M d, Y') }} @php $statusClass = match($booking->booking_status) { 'pending' => 'bg-yellow-100 text-yellow-700', 'confirmed' => 'bg-blue-100 text-blue-700', 'checked_in' => 'bg-green-100 text-green-700', 'checked_out' => 'bg-gray-100 text-gray-700', 'cancelled' => 'bg-red-100 text-red-700', default => 'bg-gray-100 text-gray-700', }; @endphp {{ ucfirst(str_replace('_', ' ', $booking->booking_status)) }} ₦ {{ number_format($booking->balance, 0) }}
Folio @if($booking->booking_status === 'confirmed') Check In @elseif($booking->booking_status === 'checked_in') Check Out @endif
No bookings found
{{ $bookings->links() }}
@endsection