My Bookings

View and manage your rental bookings

@if(session()->has('success'))

{{ session('success') }}

@endif @if(session()->has('error'))

{{ session('error') }}

@endif
@if($bookings->count() > 0)
@foreach($bookings as $booking)

{{ $booking->listing->title }}

{{ ucfirst($booking->status) }}

Location: {{ $booking->listing->location->name }}

Type: {{ $booking->listing->rentalType->name }}

@if($booking->pickupLocation)

Pickup: {{ $booking->pickupLocation->name }} at {{ date('h:i A', strtotime($booking->pickup_time)) }}

Dropoff: {{ $booking->dropoffLocation->name }} at {{ date('h:i A', strtotime($booking->dropoff_time)) }}

@endif

Check-in: {{ \Carbon\Carbon::parse($booking->check_in)->format('M d, Y') }}

Check-out: {{ \Carbon\Carbon::parse($booking->check_out)->format('M d, Y') }}

Booking ID: #{{ $booking->id }}

Total: RM {{ number_format($booking->total_price, 2) }}

@if($booking->status === 'confirmed' || $booking->status === 'completed') View Receipt @endif @if($booking->status === 'completed') @if($booking->review)
{{ $booking->review->rating }} Stars - Reviewed
@else @endif @endif
@endforeach
{{ $bookings->links() }}
@else

No bookings found

Start exploring and book your first rental!

@endif @if($showReviewModal)

Leave a Review

@for($i = 1; $i <= 5; $i++) @endfor
@error('rating') {{ $message }} @enderror
@error('comment') {{ $message }} @enderror

Minimum 10 characters

@endif