I'm trying to create a listing of all checked-in customers so that if someone calls, we can quickly check if someone is checked-in.

Is there a way to create a view with this status? I can't seem to find a status for checked-in customers. I've tried cloning the Bookings view and filtering by Start and End dates but they're not an option when I add a field to the Views Filter. I think this would work: Start Date is less than NOW AND End date is greater than NOW.

Comments

ashzade’s picture

Issue summary: View changes

more details on what I've tried.

ronald_istos’s picture

Hm, 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.

ashzade’s picture

That 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.

ashzade’s picture

Version: 7.x-1.0-rc1 » 7.x-1.0

Just 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).

ashzade’s picture

Issue summary: View changes

Tried more combinations.

pozzobalbi’s picture

Issue summary: View changes

Without 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.