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
dcae1b66
Commit
dcae1b66
authored
Dec 03, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12519950 # Client - Incoming Issues (raised by Client) #CV not present
parent
20d189e9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
8 deletions
+23
-8
JobApplication.java
cmsWebApp/src/performa/orm/JobApplication.java
+13
-0
cv_cover_letter.jsp
...pp/webroot/extensions/applicantportal/cv_cover_letter.jsp
+10
-8
No files found.
cmsWebApp/src/performa/orm/JobApplication.java
View file @
dcae1b66
...
@@ -49,11 +49,24 @@ public class JobApplication extends BaseJobApplication
...
@@ -49,11 +49,24 @@ public class JobApplication extends BaseJobApplication
{
{
//Ideally should be managed with uniqueGroup, but uniqueGroup doesnt work without atleast 1 attribute
//Ideally should be managed with uniqueGroup, but uniqueGroup doesnt work without atleast 1 attribute
searchCandidateJob
(
getTransaction
(),
getCandidate
(),
getJob
());
//It will throw RuntimeException when more than 1 record found.
searchCandidateJob
(
getTransaction
(),
getCandidate
(),
getJob
());
//It will throw RuntimeException when more than 1 record found.
if
(
getCV
()
!=
null
)
{
String
contentType
=
getCV
().
getContentType
();
context
.
check
(
contentType
.
contains
(
"msword"
)
||
contentType
.
contains
(
"opendocument.text"
)
||
contentType
.
contains
(
"pdf"
)
,
this
,
FIELD_CV
,
"invalid"
);
}
if
(
getCoverLetter
()!=
null
)
{
String
contentType
=
getCoverLetter
().
getContentType
();
context
.
check
(
contentType
.
contains
(
"msword"
)
||
contentType
.
contains
(
"opendocument.text"
)
||
contentType
.
contains
(
"pdf"
)
,
this
,
FIELD_CoverLetter
,
"invalid"
);
}
}
}
catch
(
RuntimeException
ex
)
catch
(
RuntimeException
ex
)
{
{
context
.
check
(
false
,
this
,
SINGLEREFERENCE_Job
,
"alreadyApplied"
);
context
.
check
(
false
,
this
,
SINGLEREFERENCE_Job
,
"alreadyApplied"
);
}
}
super
.
validate
(
context
);
super
.
validate
(
context
);
}
}
...
...
cmsWebApp/webroot/extensions/applicantportal/cv_cover_letter.jsp
View file @
dcae1b66
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
process.setAttribute("JobApplication" , jobApplication);
process.setAttribute("JobApplication" , jobApplication);
%>
%>
<script type="text/javascript">
<script type="text/javascript">
$(document.body).addClass('bg-color');
$(document.body).addClass('bg-color');
$(document).ready(function(){
$(document).ready(function(){
$(
".attach-icon-btn"
).click(function(){
$(
'.attach-icon-btn'
).click(function(){
$(this).
siblings(".fileInput"
).find("input").click();
$(this).
parent(
).find("input").click();
});
});
$("input:file").change(function (){
$("input:file").change(function (){
...
@@ -43,14 +43,14 @@
...
@@ -43,14 +43,14 @@
$(this).parents(".form-control").append(filename);
$(this).parents(".form-control").append(filename);
});
});
});
});
</script>
</script>
<style>
<style>
.main-verify-identity .second-style {
.main-verify-identity .second-style {
font-size: 14px;
font-size: 14px;
line-height: 40px;
line-height: 40px;
}
}
</style>
</style>
<div class="apply-job-logo-header signinpage">
<div class="apply-job-logo-header signinpage">
<div>
<div>
...
@@ -76,7 +76,9 @@
...
@@ -76,7 +76,9 @@
<oneit:dynInclude page="/extensions/applicantportal/inc/multifieldtext.jsp" data="<%= CollectionUtils.EMPTY_MAP%>"/>
<oneit:dynInclude page="/extensions/applicantportal/inc/multifieldtext.jsp" data="<%= CollectionUtils.EMPTY_MAP%>"/>
<div class="main-verify-identity">
<div class="main-verify-identity">
<div class="pl-confirm text-center">Great! Now let's attach your CV and Cover Letter</div>
<div class="pl-confirm text-center">
Great! Now let's attach your CV and Cover Letter<br/><br/>
Uploading your files in PDF format is strongly recommended</div>
<div class="main-box-layout main-verify-step-2">
<div class="main-box-layout main-verify-step-2">
<div class="form-group text-left relative-parent ">
<div class="form-group text-left relative-parent ">
<label>Upload your CV</label>
<label>Upload your CV</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