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
c1b681bb
Commit
c1b681bb
authored
May 03, 2019
by
nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S32916706 # Client - Incoming Issues (raised by Client) #Calculation wrong in Express
showing role fit value as 0 if it is negative
parent
726ccc1b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
JobApplication.java
cmsWebApp/src/performa/orm/JobApplication.java
+1
-1
applicant_report.jsp
...p/webroot/extensions/adminportal/inc/applicant_report.jsp
+9
-1
view_application_tab_applicant.jsp
...nsions/adminportal/inc/view_application_tab_applicant.jsp
+1
-1
No files found.
cmsWebApp/src/performa/orm/JobApplication.java
View file @
c1b681bb
...
...
@@ -709,7 +709,7 @@ public class JobApplication extends BaseJobApplication
{
Tuple
.
T3
<
Double
,
ColorCode
,
Double
>
roleFitData
=
(
getRoleFit
()
!=
null
&&
getRoleFit
().
get
(
null
)
!=
null
)
?
(
Tuple
.
T3
<
Double
,
ColorCode
,
Double
>)
getRoleFit
().
get
(
null
)
:
null
;
double
score
=
roleFitData
!=
null
?
roleFitData
.
get2
()
:
0
d
;
double
score
=
roleFitData
!=
null
?
roleFitData
.
get2
()
>
0
?
roleFitData
.
get2
()
:
0
d
:
0
d
;
Color
color
=
roleFitData
!=
null
?
Utils
.
getColor
(
roleFitData
.
get1
())
:
RingChart
.
GREEN
;
return
new
RingChart
(
getID
().
toString
()
+
"rolefit.jpeg"
).
addData
(
"Completed"
,
score
,
color
).
addData
(
"Incomplete"
,
(
100
-
score
),
RingChart
.
GREY
).
getChartImage
();
...
...
cmsWebApp/webroot/extensions/adminportal/inc/applicant_report.jsp
View file @
c1b681bb
...
...
@@ -375,13 +375,21 @@
%>
<div class="appli-row">
<span class="appli-label"><oneit:toString value="<%= factorClass %>" mode="EscapeHTML"/></span>
<span class="appli-percen gray"><oneit:toString value="<%=
rating
%>" mode="PercentageWholeNumber" /></span>
<span class="appli-percen gray"><oneit:toString value="<%=
!job.isExpressJob() ? rating : null
%>" mode="PercentageWholeNumber" /></span>
<span class="appli-progress-bar">
<%
if(!job.isExpressJob())
{
%>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="<%= rating %>" aria-valuemin="0" aria-valuemax="100" style="width:<%= rating %>%;"></div>
</div>
<%
}
%>
</span>
</div>
<%
if(detailed)
{
...
...
cmsWebApp/webroot/extensions/adminportal/inc/view_application_tab_applicant.jsp
View file @
c1b681bb
...
...
@@ -156,7 +156,7 @@
<div class="<%= job.getIncludeAssessmentCriteria()==Boolean.TRUE ? "col-sm-4" : "col-sm-6" %> col-xs-12 text-center thr-block role-fit" href="#1a" data-toggle="tab" id="progress1" onClick="tabToggle('#tab1', '.role-fit')">
<label class="progress-label">role fit</label>
<div class="<%= colorClass %> fixed-width">
<p style="display:none;"><oneit:toString value="<%= roleFitData!=null ? roleFitData.get2() : 0d %>" mode="TwoDPDouble" nullValue="0"/></p>
<p style="display:none;"><oneit:toString value="<%= roleFitData!=null ? roleFitData.get2()
> 0 ? roleFitData.get2() : 0d
: 0d %>" mode="TwoDPDouble" nullValue="0"/></p>
</div>
<div class="row four-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