Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
be4d1fba
Commit
be4d1fba
authored
Jul 17, 2017
by
Nilu
Committed by
Harsh Shah
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set apply by date after clonning a job
parent
832c9a82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
LoadJobFromTemplateFP.java
cmsWebApp/src/performa/form/LoadJobFromTemplateFP.java
+3
-0
No files found.
cmsWebApp/src/performa/form/LoadJobFromTemplateFP.java
View file @
be4d1fba
...
...
@@ -5,6 +5,7 @@
*/
package
performa
.
form
;
import
java.util.Calendar
;
import
java.util.Map
;
import
javax.servlet.http.HttpServletRequest
;
import
oneit.logging.LogLevel
;
...
...
@@ -16,6 +17,7 @@ import oneit.servlets.forms.SuccessfulResult;
import
oneit.servlets.process.ORMProcessFormProcessor
;
import
oneit.servlets.process.ORMProcessState
;
import
oneit.utils.BusinessException
;
import
oneit.utils.DateDiff
;
import
performa.orm.CultureCriteria
;
import
performa.orm.Job
;
...
...
@@ -41,6 +43,7 @@ public class LoadJobFromTemplateFP extends ORMProcessFormProcessor
template
.
cloneJob
(
job
);
job
.
setApplyBy
(
DateDiff
.
add
(
DateDiff
.
getToday
(),
Calendar
.
DATE
,
30
));
job
.
setCompletedDetails
(
Boolean
.
TRUE
);
job
.
setCompletedAssessmentType
(
Boolean
.
TRUE
);
job
.
setCompletedRequirements
(
Boolean
.
TRUE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment