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
0aac5f21
Commit
0aac5f21
authored
Nov 21, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12516860 # Client - Incoming Issues (raised by Client) #Phone number required but no message
parent
c6c7134a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
SendCompanyUserInvitesFP.java
cmsWebApp/src/performa/form/SendCompanyUserInvitesFP.java
+1
-0
SendVerificationMailFP.java
cmsWebApp/src/performa/form/SendVerificationMailFP.java
+1
-0
CompanyUser.java
cmsWebApp/src/performa/orm/CompanyUser.java
+3
-1
HiringTeam.java
cmsWebApp/src/performa/orm/HiringTeam.java
+1
-1
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 @
0aac5f21
...
...
@@ -68,6 +68,7 @@ public class SendCompanyUserInvitesFP extends SaveFP
{
BusinessObjectParser
.
assertFieldCondition
(
companyUser
.
isTrue
(
companyUser
.
getPrivacyPolicyAgreed
()),
companyUser
,
CompanyUser
.
FIELD_PrivacyPolicyAgreed
,
"agreePrivacy"
,
exceptions
,
true
,
request
);
BusinessObjectParser
.
assertFieldCondition
(
companyUser
.
isTrue
(
companyUser
.
getConditionsAgreed
()),
companyUser
,
CompanyUser
.
FIELD_ConditionsAgreed
,
"agreeTerms"
,
exceptions
,
true
,
request
);
BusinessObjectParser
.
assertFieldCondition
(
companyUser
.
getPhone
()
!=
null
,
companyUser
,
CompanyUser
.
FIELD_Phone
,
"mandatory"
,
exceptions
,
true
,
request
);
}
super
.
validate
(
process
,
submission
,
exceptions
,
params
);
...
...
cmsWebApp/src/performa/form/SendVerificationMailFP.java
View file @
0aac5f21
...
...
@@ -45,6 +45,7 @@ public class SendVerificationMailFP extends SaveFP
BusinessObjectParser
.
assertFieldCondition
(!
Utils
.
emailExists
(
process
.
getTransaction
(),
secUser
.
getEmail
()),
secUser
,
SecUser
.
FIELD_Email
,
"emailExists"
,
exceptions
,
true
,
request
);
BusinessObjectParser
.
assertFieldCondition
(
companyUser
.
isTrue
(
companyUser
.
getPrivacyPolicyAgreed
()),
companyUser
,
CompanyUser
.
FIELD_PrivacyPolicyAgreed
,
"agreePrivacy"
,
exceptions
,
true
,
request
);
BusinessObjectParser
.
assertFieldCondition
(
companyUser
.
isTrue
(
companyUser
.
getConditionsAgreed
()),
companyUser
,
CompanyUser
.
FIELD_ConditionsAgreed
,
"agreeTerms"
,
exceptions
,
true
,
request
);
BusinessObjectParser
.
assertFieldCondition
(
companyUser
.
getPhone
()
!=
null
,
companyUser
,
CompanyUser
.
FIELD_Phone
,
"mandatory"
,
exceptions
,
true
,
request
);
}
else
{
...
...
cmsWebApp/src/performa/orm/CompanyUser.java
View file @
0aac5f21
...
...
@@ -213,6 +213,7 @@ public class CompanyUser extends BaseCompanyUser
public
RoleType
getRoleForHiringTeam
(
HiringTeam
hiringTeam
)
{
return
hiringTeam
.
pipelineHiringTeam
().
toUsers
(
CompanyUserHiringTeamLink
.
SearchByAll
().
andCompanyUser
(
new
EqualsFilter
<>(
this
))).
val
().
getRole
();
CompanyUserHiringTeamLink
link
=
hiringTeam
.
pipelineHiringTeam
().
toUsers
(
CompanyUserHiringTeamLink
.
SearchByAll
().
andCompanyUser
(
new
EqualsFilter
<>(
this
))).
val
();
return
link
!=
null
?
link
.
getRole
()
:
null
;
}
}
\ No newline at end of file
cmsWebApp/src/performa/orm/HiringTeam.java
View file @
0aac5f21
...
...
@@ -184,7 +184,7 @@ public class HiringTeam extends BaseHiringTeam
{
CompanyUser
companyUser
=
secUser
.
getExtension
(
CompanyUser
.
REFERENCE_CompanyUser
);
if
(
companyUser
.
getRoleForHiringTeam
(
this
)
==
RoleType
.
STANDARD
)
if
(
companyUser
!=
null
&&
companyUser
.
getRoleForHiringTeam
(
this
)
==
RoleType
.
STANDARD
)
{
return
FieldWriteability
.
NOT_IN_GUI
;
}
...
...
cmsWebApp/webroot/extensions/adminportal/inc/company_user_data.jsp
View file @
0aac5f21
...
...
@@ -49,7 +49,7 @@
</div>
<div class="form-group text-left">
<label><oneit:ormlabel obj="<%= companyUser %>" field="Phone" /></label>
<oneit:ormInput obj="<%= companyUser %>" type="text" attributeName="Phone" cssClass="form-control"
required="true"
/>
<oneit:ormInput obj="<%= companyUser %>" type="text" attributeName="Phone" cssClass="form-control"/>
</div>
<div class="form-group text-left">
<label>Hiring Team</label>
...
...
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