phpScheduleIt
June 18, 2013, 04:00:35 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: How to add two levels of booking approval.  (Read 935 times)
rsequiera
Newbie
*

Karma: 0
Posts: 2


« on: July 05, 2011, 12:16:59 AM »

Hi Nick,

I am in the process of customizing the application for two levels of approvals eg: first level is at dept manager level and the next is at general manager level. could you please help me with this.

Thanks,
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5506


WWW
« Reply #1 on: July 05, 2011, 01:42:40 PM »

It sounds like you may need to introduce the concept of a reservation state or stage.  The flow might be from requested, approved - level 1, reserved/confirmed.

The code wouldn't be too much different than what is there for the current approval process.  You'll need to set up users in those roles, then promote the reservation through each stage.  It's a pretty good amount of code, but if you're comfortable with PHP it shouldn't be too bad.
Logged
rsequiera
Newbie
*

Karma: 0
Posts: 2


« Reply #2 on: July 05, 2011, 09:37:11 PM »

Thanks Nick,

Do you mean i need to have one more table to store the state/stage of every reservation? and how to go about the changes to have additional roles to handle two level of approval. one more thing is that if have group haed as the first level approver and the main admin as the second level approve will the changes be still the same?

« Last Edit: July 06, 2011, 05:44:59 AM by rsequiera » Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5506


WWW
« Reply #3 on: July 11, 2011, 02:05:32 PM »

Either another table or a column on the existing reservation table.

The changes will be pretty much the same regardless of how many roles you have.  You would just need the ability to choose which role has which approval privileges.
Logged
wholloway2
Newbie
*

Karma: 0
Posts: 2


« Reply #4 on: May 04, 2012, 01:21:34 PM »

OP, were you successful in implementing the levels of approval?
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!