Active
Project:
Agreservations
Version:
7.x-2.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2012 at 14:47 UTC
Updated:
25 Mar 2017 at 11:04 UTC
Jump to comment: Most recent
Comments
Comment #1
agill commentedprincipally you could do this with agreservations,
but 1 thing is missing: currently it is not implemented to enter how long the gap between
the bookings has to be, but this i probably easy and could be an additional setting in the category config node.
Comment #2
kristin.e commentedok, thanks. so I could create a setting in the category configuration node to do this? how would this be done?
Comment #3
agill commentedyou could create a setting, but for agreservations to act accordingly to the setting, some coding is necessary:
i thought a bit about it and i think it would make sense to create a field "minimum gap between reservations"
where users can enter a time in minutes or days or hours.
then whenever a reservation is made, the system would check if the field has a value >0 and
to create a second "block reservation" for every normal reservation, that begins exactly at the end of the original reservation + the amount of time entered in the field "minimum gap between reservations".
currently i am working on a module for easier price handling (selecting time ranges, selecting a category or unit type, selecting a price modifier) when i am ready with that i would implement the above solution to handle minimum gaps between bookings.
Comment #4
kristin.e commentedthanks for the info. I think I may just stick to the current default of measuring each booking in hours as units. I just wanted to also outline what I am trying to achieve
There are 10 therapies available with each therapy having 5-10 associated therapists. I have made each therapy into a category and each therapist within each category a unit type (ie. product). I have then assigned 9 units per therapist - each unit represents an hourly timeslot so that within the opening hours (8am-9pm) a therapist can be booked for 9 sessions (allowing therapist to have breaks between bookings). Does this make sense as a structure for this module? I am assuming that once a time booking is made with a particular therapist a customer could not book that time again with that therapist as there would be a confilict of resources.
Also, is there a way for customers to see which timeslots are available on a particular day? At the moment it seems that there is only the search widget where they select a time only to find it is booked but no way of seeing which times are available. Availability calendar only shows dates but not times.
I hope this isn't too many questions for one discussion thread. Thanks in advance for any guidelines and for a great module too!
Comment #5
agill commentedThere is currently no availability calendar for hours on a day, only monthview in miniformat.
There is the bookingscalendars day view, that shows which units/hourly therapist slots are booked.
To the setup: i would have created just 1 category therapy which has the booking mode "by hour"
and the i would have created 1 unit type per differently priced therapy. and in the last step i would have created
the units which are assigned to the unit types - this last step determines how many therapies of the same kind you can
offer at the same time before a conflict occurs.
1 problem i see with your setup is:
you have already defined the 9 slots which are bookable, but you still need to enter the
date and time with the search widget.
1 improvement would be to let the user enter only the arrival date and time and automatically set the checkouttime
to arrivaltime + 1 hour, but its not implemented in the module yet.
Even better would be to implement a widget which shows a popupcalendar where the unavailable days and hours are grey or red,
but this also is not implemented in the current version.
Comment #6
keiichito commentedI'm currently trying to build something like kristin.e.
I'm totally new to Drupal, but I want to learn, I really like your ideas on how to implement hours bookings.
Where I'm kinda lost is how could be implemented the widget to show hours already booked. Could you please elaborate a little more on this, what modules can I use etc.
Thank you in advance.
Comment #7
agill commentedit should be possible to have a normal calendar day view showing only bookings of a certain unit type, this can be done by adjusting the calendar view in the views ui.
what i want, is to agregate the different bookings of different unit types and display whether there are still
units available or not in a timeslot, like i already have done in the availability minicalendar view for which i adjusted the normal calendar modules minicalendar in the submodule agres_availability.
Maybe this will be possible with only the calendar module and views in future, that would be nice
I am also thinking that during the picking of the time it should also be possible to show
times greyed or in different color, if there are no more units availabe. for this i need to adjut the popup js and timepicker js.
but currently i have no solution for you regarding hourly booking and the instant visibility of booked hours, i hope to put some extra time to this matter later this month.
Comment #8
kristin.e commented@agill - thanks for the information on what the module can do and what would need to be further implemented to achieve things such as bookable timeslots etc. I think that for now I would have to come back to your module once these things have been implemented as they are quite specific.
Thanks for all your hard work and I hope to be able to make use of the module in future as it comes closest to what I need to implement on one of my sites.
Comment #9
problue solutionsThis would be essential for booking time slots, could you give me any tips where I can change this in the code?
Comment #10
streever commentedWould you be able to add this feature if paid for your time? I may be interested in it for an upcoming project, and wanted to reach out before I had a deadline! I've looked at other projects which seem promising, but knowing how many people are using AGReservations, and seeing how responsive you are, I thought I'd chime in and express interest in this feature as well.
Thank you.
Comment #11
agill commentedHello streever, sorry for my late response.
probably i will solve this issue not like i said, by creating additional blocking reservations at the end of each reservations, but by manipulations of the conflict checking according to a setting made for each category, however i will solve the issue, it takes some time. If that time gets at least partly paid for, that would be a good thing and speed things up a bit.
Maybe you can get in touch with me through my website or my contact form and tell me more about your exact requirements and use case.
Regards,
Andreas
Comment #12
Marcela V. commentedHi,
I'm trying to set agreservations (with ubercart) on my website. I need booking per hour, but actually the problem is that the category search block just let pick the day (and not the hour). I can't understand why is happening like that, because when I look the availability calendar is working per hours. Do you know how can I make that the block let the user pick the hour. My other question is: Is there any option to show jus arrival date and hide "departure". I hope you can help me, thanks!
Comment #13
agill commentedsorry for the late response,
there is a setting on the categories node edit page. it is called "select times too".
Comment #14
user654 commented.
Comment #15
poligiacomo commentedDid you have a solution?
G
Comment #16
agenciaq1 commentedHi All,
Did anyone find a solution or best approach to implement a booking system per hours?
Thank you,
Comment #17
sk2013 commentedLooking for any solution to book hourly.
Thanks
Comment #18
Marcela V. commentedHello...
I think actually the best approach to implement a booking system per hours is BAT https://www.drupal.org/project/bat. It works with Commerce (not Ubercart) and is highly customizable.
Comment #19
sk2013 commentedThanks