Active
Project:
Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals
Version:
7.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2013 at 19:39 UTC
Updated:
5 Sep 2014 at 14:58 UTC
Jump to comment: Most recent
Comments
Comment #0.0
ashzade commentedmore details on what I've tried.
Comment #1
ronald_istos commentedHm, that is not possible through VIews right now, we need to add filters for the start and end date. You could manage it with custom code - adding this to the master feature list as it would be a nice thing to add once we have a stable release.
Comment #2
ashzade commentedThat would be great, but if there is a view field that shows booked status, as in is the room booked, if yes, by who, it would achieve the same thing.
Comment #3
ashzade commentedJust an update that I figured this out:
I added another view to the booking/list view with the following filter: (Commerce Line item referencing Bookings from rooms_booking_reference) Commerce Line item: Booking Dates - start date (now).
Comment #3.0
ashzade commentedTried more combinations.
Comment #4
pozzobalbi commentedWithout going into details, but I see no reason why it shoul not be possible with views and exposing a date filter, so it can be modified, while using as default date today.