Now I've just got to figure out how to change the style and change the daily bookings to weekly bookings.
I don't suppose you have an idea about the latter, do you... as I don't, and you seem so knowledgeable!





Hmmm... I know a bit about php, so I think I know what you're on about, however I just need to clarify your meaning.The manipulation you want to doing is not just simple like I say but If you are PHP knowledgeable it should be not a problem for you.
You need to change the price in the step 2. See the line 1054. there the price is calculated by ( days * priceperday ).
If you take a look in the dateclass documentation you can see that the class can manage weeks too. I mean if some select date from and date to with 15 days difference the class will return 2 weeks. The text that say Price For n Days should be your period.
In step 3 you just need to change the text that say again Price for n days.
You can type in admin the room type price to be for week
Code: Select all
1020 line $dayscount = $span->Span('d', $fromdate->TimeStamp(), $todate->TimeStamp());
Code: Select all
1020 line $dayscount = $span->Span('w', $fromdate->TimeStamp(), $todate->TimeStamp());