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
875faceb
Commit
875faceb
authored
Nov 01, 2017
by
Harsh Shah
Browse files
Options
Browse Files
Download
Plain Diff
Finish Hotfix-2017-11-01
parents
272305dc
8a075ce8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
CompleteApplicationFP.java
cmsWebApp/src/performa/form/CompleteApplicationFP.java
+3
-6
No files found.
cmsWebApp/src/performa/form/CompleteApplicationFP.java
View file @
875faceb
...
...
@@ -6,10 +6,8 @@ import javax.servlet.http.HttpServletRequest;
import
oneit.logging.*
;
import
oneit.objstore.StorageException
;
import
oneit.objstore.parser.BusinessObjectParser
;
import
oneit.security.SecUser
;
import
oneit.servlets.forms.*
;
import
oneit.servlets.process.*
;
import
static
oneit
.
servlets
.
process
.
SaveFP
.
completeProcessRestartAndRestoreAttribs
;
import
oneit.utils.*
;
import
performa.intercom.utils.IntercomUtils
;
import
performa.orm.*
;
...
...
@@ -41,13 +39,12 @@ public class CompleteApplicationFP extends SaveFP
// restarting process as custom attributes needs to be updated to intercom
completeProcessRestartAndRestoreAttribs
(
process
,
request
);
SecUser
secUser
=
SecUser
.
getTXUser
(
process
.
getTransaction
());
CompanyUser
companyUser
=
secUser
.
getExtension
(
CompanyUser
.
REFERENCE_CompanyUser
);
jobApplication
=
(
JobApplication
)
process
.
getAttribute
(
"JobApplication"
);
// Update company in intercom
if
(
companyUser
!=
null
&&
companyUser
.
getCompany
()
!=
null
)
if
(
jobApplication
!=
null
&&
jobApplication
.
getJob
().
getCompanyUser
()
!=
null
)
{
IntercomUtils
.
updateCompany
(
companyUser
.
getCompany
());
IntercomUtils
.
updateCompany
(
jobApplication
.
getJob
().
getCompanyUser
()
.
getCompany
());
}
return
super
.
processForm
(
process
,
submission
,
params
);
...
...
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