phpScheduleIt
May 18, 2013, 09:39:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: How to: Add Meeting with Resource to check another  (Read 1060 times)
Joetech
Newbie
*

Karma: 0
Posts: 16


« on: July 18, 2011, 11:36:24 AM »

Question:

If I wanted to book a schedule using lets say Resource A but I wanted to during the availability check also ensure that Resource B is free as well how could I do that in this program?

This would only be with certain resources which would be global each time that resource was picked etc.

Thanks
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« Reply #1 on: July 18, 2011, 01:59:41 PM »

This would be custom work.  In lib\reservation.class.php add_res() and mod_res() you'd need to run the availability check for all resources that you're interested in.  You could probably accomplish this by changing the way lib\db\resdb.class.php checkAdditionalResources() works.

You'd need to check both additional resources as well as regular resources.
Logged
Joetech
Newbie
*

Karma: 0
Posts: 16


« Reply #2 on: July 20, 2011, 05:05:02 PM »

Thank you for pointing me in the right direction.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!