Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, Great Module
Is there a way to expose the orders [check-in] dates, there order relationships, and user arguments to views?
Then if you could create a calendar view for every hotel type node you created, Showing the order no# in every day from [check-in] to [check-out].
Comments
Comment #1
larowlanNot yet, at the moment the data goes via the ubercart 'data' column in the database which is a serialized array. Not sure if this is exposed to views at present. This is planned as part of the update to allow admin users to manually check out rooms etc.
Comment #2
vlooivlerke CreditAttribution: vlooivlerke commentedI had a look at uc_views.module. It exposes quit allot of information about an order, also linking the user to the order.
But I will wait for the update then.
Thanks
Comment #3
vp143 CreditAttribution: vp143 commentedHi there, firstly greate module!!
I am looking for back end functionality such as viewing bookings by day. I havent found any module yet- do you know of any that will work with uc_hotel?
I was also thinking of like the previous commenter to use views to show such a report. As you have mentioned, the checkin information is within the data column. Do you have an ETA on when this may change?
Comment #4
larowlanI've written the code as part of a spinoff module for jewelery rentals, just need to port it back to uc_hotel, will write myself a reminder.
Comment #5
vp143 CreditAttribution: vp143 commentedGreat news! Any thoughts on which version of uc_hotel this might appear in?
Comment #6
afagioliIf we are talking about the use case "Who is arriving to my hotel?",
you can check http://www.fagioli.biz/node/301
hope this will help
Comment #7
larowlantagging as release blocker, just need to find time - will make it into beta5
Comment #8
sweimer CreditAttribution: sweimer commentedlarowlan (pr anyone else that may have an answer)
Great job on this module...and great job maintaining it. As I searched through all the issues, you are as good as anyone I've seen at responding and helping with issues.
I'm wondering if there is any progress on this issue. I'm trying to build a Check-In Dashboard or Calendar for the hotel staff to use when customers arrive. I hoping to use views and am trying to figure out how to access the CHECK IN, CHECK OUT and ROOM TYPE fields in views.
Any thoughts?
sweimer
Comment #9
larowlanHi
Yeah this is done including integration with calendar module and uc_views.
You can make things like 'Arriving today' blocks or a calendar of all arrivals etc.
The code also adds the ability to 'edit' bookings and create new ones from the ubercart interface.
Just have to commit it - will try and find time for this next week - are truly flat out at the moment.
At the moment it's 6.x-4.x branch because really new features belong in a new branch.
I think I should roll a new 6.x.2.0-beta5 (even though I wanted to fix the addons module first) and roll this as a 6.x-4.0-alpha1.
The 3.x branch removes the pricing from the hotel_booking module and allows other modules to define pricing models.
LR
Comment #10
larowlanHappy to take feedback on module release numbering too - feel free to leave comments etc.
Comment #11
larowlanThis committed as 6.x-4.0-alpha1 - includes sub module hotel_booking_views that requires uc_views and calendar module and provides integration with calendar and views for bookings.
Note also features ability to edit and add bookings via the ubercart interface.
Comment #12
sweimer CreditAttribution: sweimer commentedthanks for the update. i look forward to playing with it.
Comment #13
sweimer CreditAttribution: sweimer commentedlarowlan
Thanks for adding the ability for a calendar view. I'm still struggling to find checkin date or nights as views field options to drive the calendar. how did you get that to work?
sweimer
Comment #14
galiavni CreditAttribution: galiavni commentedHi
I installed the uc_hotel 6.x-4.0 alapha1
Can you please tell me how do I present the availabilty calendar on views ?
Which component should I pick ?
Also , it seems that there is no component in Views for the "book now " button
Am I wrong ?
Please help me
Thank you
Gali
Comment #15
larowlan@sweimer, you need a view based on the ubercart order products (not based on nodes). Then the fields are available.
@galiavni, the views support is not for the availability calendars, instead it is for orders.