Advanced

Some changes in the date/hour system

Posted by aldo 
Some changes in the date/hour system
July 02, 2011 11:39AM
Dear Sirs,

I like this system but in my opinion there are some lacks and so I would appreciate very much if you will help me in applying some changes:

1- On monday the restaurant is closed, so I would like to disable it.
2- On saturday the restaurant has the same working hours of the other days, only on sunday has different time; so I would like to differentiate saturday from sunday.
3- I wuold like to disable one specific day from the back-end (for example for holidays or illness).
4- Finally I wuold like to disable, from the front end, the unused hours to simplify the selection for the user.

Can you help me making this changes or suggesting me in which file in can find the respecting code?

Thank you,
aldo
Re: Some changes in the date/hour system
July 03, 2011 08:44AM
Hello,

For the first 2 points, it isn't any solution, we will try to implement these features in the next version.

For point 3, you can go to Options and at General Settings you have "Non Working Days". You can use this option to disable specific days.

For point 4, go to components/com_tablebooking/assets/includes/functions.php and around lines 79 you must see something like
		$starts = 7*60*60;
		$ends = 23*60*60;

and also little down, around line 88
		$startf = 7*60*60;
		$endf = 23*60*60;

replace 7 and 23 with the hours you want to start/finish.


Ionut L.
like beesto.com on facebook to receive the latest updates about our products!
Re: Some changes in the date/hour system
July 04, 2011 04:12AM
Ok! thank for your suggestions...

When are you going to release the new version?

See you soon,
aldo
Re: Some changes in the date/hour system
July 04, 2011 04:24AM
In around one month we should release a new version.


Ionut L.
like beesto.com on facebook to receive the latest updates about our products!

If you use TableBooking please post a rating and a review at the Joomla! Extensions Directory

Sorry, only registered users may post in this forum.

Click here to login