phpScheduleIt
May 22, 2013, 09:50:01 AM *
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: Accessories pool shared between resources  (Read 639 times)
WxMan_II
Newbie
*

Karma: 0
Posts: 3


« on: January 05, 2011, 11:21:41 AM »

Working for a facility that, among our other support functions, provides meetings rooms with specific capabilities and a shared pool of laptop computers (24) that can move between rooms.  What we're looking at here are two separate issues..  First is the handling of these computers.  What is the best method to set up phpScheduleIt to allow users to book some or all of these laptops when they book a meeting room so that the needed number of computers is removed from the pool of computers and the remaining laptops continue to be made available for use in the other rooms?  I have set up an accessories entry of laptop computers, and set the quantity to 24, but when booking there's no option of selecting the actual number of laptops desired.

Secondly, and far less important, is there a way of configuring ScheduleIt so that e-mails are generated based upon whether or not these accessories are booked, or can a field be added with a checkbox to add a cc: e-mail address if needed?  Specifically, if a room is booked and no technology is needed, then IT Support need not receive a notification e-mail, but if technology IS needed, then IT Support should receive an e-mail.

Any assistance is, of course, greatly appreciated.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: January 10, 2011, 01:08:21 PM »

Unfortunately neither of these are supported out of the box.  You can make some code changes to support the input, validation and persistence of the quantity.  It wouldn't be trivial, but it wouldn't be terrible if you have some PHP experience.

If you want to simply conditionally check if an email should be sent out, you'll need to change the implementation of send_email() in lib/Reservation.class.php to accept $resources_to_add, then send based on whatever your condition is.
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!