Project

General

Profile

Feature #1374

Updated by Vladimir Krisyuk almost 6 years ago

h2. User should be able to add job position for Employee 
 
 *Precondition:*    User adds/edits the Employee on the Employee Profile page. 
 And there are at least one Job Title in the Work History section. 

 When user clicks on the    [Add Position] then the add position window should be opened with the form or add data below inline: 
 * Position - dropdown list of the Positions that are available under current Job Title within the Department. 
 * Date start - should not be less then Job title start date and not more then Job Title Date End. 
 # By Default    the Date Start = Job Title Date start 

 * Date End or    N/A -    N/A is checked by default of Job Title Date end is not set.  
 # If the    Job Title Date end is set, then Position Date End should be equal of less than Job Title End Date 
 By default should be = Job Title end date.   
 In both cases Date End should not be less that Date start. 
 
 h2. Rules: 

 *[Date Start]* 
 If    [Job Title Date End ] = not NULL 
 Then [Job Title Date Start ] <= [Date Start] <=    [Job Title Date End] 
 
 If    [Job Title Date End ] = NULL 
 The [Job Title Date Start ] <= [Date Start] 
 
 *[Date end]* 
 If [Job Title Date End ] = not NULL  
 Then [Date Start ] <= [Date End] <=    [Job Title Date End ]  
 
 If [Job Title Date End ] = NULL  
 Then [Date Start ] <= [Date End]  

 * PS The system should validate form dynamically and not let user to add incorrect data. 

 * User should not be able to add the same position again with or within the same time range. So the position should not overlap the    same one in terms of Dates. 

 * On submission the data have to be validated according the rules and requred fields, and Position to be added under the title. 
 Displayed positions under title (TBD) 

 Mockups: 83.Employee profile - add position 

Back