Menu

#5743 User can apply more than his shift length

2.6.12
open
nobody
Leave (265)
7
2011-12-16
2011-12-16
No

Description:

User can apply more than his shift length in following scenario:
1. Assume that 2011-12-23 is a half day holiday
2. employee chamila is assigned to 10 hours shift
3. now log in as chamila and apply following leaves:
2011-12-23 from 8.00 to 10.00
2011-12-23 from 10.00 to 12.00
2011-12-23 from 12.00 to 14.00
4. system should prevent chamila from applying leave more than 5 hours as 2011-12-23 is half day holiday.

Discussion

MongoDB Logo MongoDB