phpScheduleIt
May 18, 2013, 04:05:42 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Modifications
>
Request Modification
>
2 day booking - is it possible
Pages: [
1
]
« previous
next »
Print
Author
Topic: 2 day booking - is it possible (Read 1554 times)
efusemedia
Newbie
Karma: 0
Posts: 3
2 day booking - is it possible
«
on:
November 28, 2007, 05:53:22 AM »
Hi, I am adapting the script to work for a watersports lake. So far it works awesome, but I see a problem around the bend. I can add all the possible resources i.e. a ski boat tow for 15minutes, or a windsurf lesson for three hours but. They also offer a two day kitesurf lesson which I cannot figure out a solution to adding. I don't want to give up as everything else seems to work so well and am deleloping some small mods to make the admin run smoother for the lake. I have been through the forum but it doesn't seem anyone else has met this problem.
Also, like the paypal intergration, the lake would like it integrated into hsbc payment. any one got any tips.
thanks for your time guys!
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5403
2 day booking - is it possible
«
Reply #1 on:
November 28, 2007, 10:11:47 AM »
Are the 2 day lessons always 2 days (no more, no less)? You're going to need to do a bit of hacking to get this to work, but basically you'll need to add something like this after line 504 of lib/Reservation.class.php.
if ($this->resource->machid == 'id of lessons resource')
{
// return false if end date/time is not exactly 2 days after start date/time
}
Logged
efusemedia
Newbie
Karma: 0
Posts: 3
2 day booking - is it possible
«
Reply #2 on:
November 28, 2007, 10:32:04 AM »
Course will be 9-5 one day and 9-5 the next in succession. Sorry to be thick but could you break down your hack for me to understand?
Thanks for a quick response!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...