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
3835e65c
Commit
3835e65c
authored
Apr 11, 2019
by
Harsh Shah
Browse files
Options
Browse Files
Download
Plain Diff
Finish Hotfix-HiringTeam
parents
2846d33e
4b230942
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
SendCompanyUserInvitesFP.java
cmsWebApp/src/performa/form/SendCompanyUserInvitesFP.java
+8
-6
company_user_data.jsp
.../webroot/extensions/adminportal/inc/company_user_data.jsp
+1
-1
No files found.
cmsWebApp/src/performa/form/SendCompanyUserInvitesFP.java
View file @
3835e65c
...
@@ -93,8 +93,6 @@ public class SendCompanyUserInvitesFP extends SaveFP
...
@@ -93,8 +93,6 @@ public class SendCompanyUserInvitesFP extends SaveFP
companyUser
.
setIsAccountVerified
(
Boolean
.
TRUE
);
companyUser
.
setIsAccountVerified
(
Boolean
.
TRUE
);
company
.
setIsVerified
(
Boolean
.
TRUE
);
company
.
setIsVerified
(
Boolean
.
TRUE
);
sendAccountCreatedMail
(
companyUser
,
request
);
if
(!
socialLogin
)
if
(!
socialLogin
)
{
{
request
.
getSession
().
setAttribute
(
SecUser
.
SEC_USER_ID
,
secUser
);
request
.
getSession
().
setAttribute
(
SecUser
.
SEC_USER_ID
,
secUser
);
...
@@ -117,9 +115,11 @@ public class SendCompanyUserInvitesFP extends SaveFP
...
@@ -117,9 +115,11 @@ public class SendCompanyUserInvitesFP extends SaveFP
StripeUtils
.
createCustomer
(
companyUser
.
getDefaultHiringTeam
());
StripeUtils
.
createCustomer
(
companyUser
.
getDefaultHiringTeam
());
LogMgr
.
log
(
LOG
,
LogLevel
.
PROCESSING1
,
"Created customer in Stripe, customer reference "
,
company
.
getStripeReference
());
LogMgr
.
log
(
LOG
,
LogLevel
.
PROCESSING1
,
"Created customer in Stripe, customer reference "
,
company
.
getStripeReference
());
// StripeUtils.subscribeCustomer(company);
// in case user changes hiring team name on verify step
// LogMgr.log(LOG, LogLevel.PROCESSING1,"Subscribed customer to default plan in Stripe, subscription reference ", company.getStripeSubscription());
if
(
companyUser
.
getDefaultHiringTeam
()
!=
null
)
{
companyUser
.
getDefaultHiringTeam
().
setHiringTeamName
(
company
.
getCompanyName
());
}
//process user invitations
//process user invitations
for
(
CompanyUserHiringTeamLink
cUser
:
hiringTeam
.
getUsersSet
())
for
(
CompanyUserHiringTeamLink
cUser
:
hiringTeam
.
getUsersSet
())
...
@@ -164,6 +164,8 @@ public class SendCompanyUserInvitesFP extends SaveFP
...
@@ -164,6 +164,8 @@ public class SendCompanyUserInvitesFP extends SaveFP
}
}
}
}
sendAccountCreatedMail
(
companyUser
,
request
);
return
super
.
processForm
(
process
,
submission
,
params
);
return
super
.
processForm
(
process
,
submission
,
params
);
}
}
...
@@ -190,7 +192,7 @@ public class SendCompanyUserInvitesFP extends SaveFP
...
@@ -190,7 +192,7 @@ public class SendCompanyUserInvitesFP extends SaveFP
{
{
Article
article
=
WebUtils
.
getArticleByShortCut
(
companyUser
.
getTransaction
(),
WebUtils
.
JOBS
);
Article
article
=
WebUtils
.
getArticleByShortCut
(
companyUser
.
getTransaction
(),
WebUtils
.
JOBS
);
String
jobCreateLink
=
LoopbackHTTP
.
getRemoteAccessURL
(
request
)
String
jobCreateLink
=
LoopbackHTTP
.
getRemoteAccessURL
(
request
)
+
article
.
getLink
(
request
,
CollectionUtils
.
mapEntry
(
"cms.rm"
,
WebUtils
.
CREATE
_JOB
).
toMap
(),
"/"
);
+
article
.
getLink
(
request
,
CollectionUtils
.
mapEntry
(
"cms.rm"
,
WebUtils
.
START
_JOB
).
toMap
(),
"/"
);
Map
defaultParams
=
CollectionUtils
.
mapEntry
(
"link"
,
link
)
Map
defaultParams
=
CollectionUtils
.
mapEntry
(
"link"
,
link
)
.
mapEntry
(
"create_job_link"
,
jobCreateLink
)
.
mapEntry
(
"create_job_link"
,
jobCreateLink
)
.
toMap
();
.
toMap
();
...
...
cmsWebApp/webroot/extensions/adminportal/inc/company_user_data.jsp
View file @
3835e65c
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
else
else
{
{
%>
%>
<oneit:ormInput obj="<%=
hiringTeam %>" type="text" attributeName="HiringTeam
Name" cssClass="form-control" required="true" placeholder="Your company name"/>
<oneit:ormInput obj="<%=
company %>" type="text" attributeName="Company
Name" cssClass="form-control" required="true" placeholder="Your company name"/>
<%
<%
}
}
%>
%>
...
...
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