Commit 74a39df8 by Nilu

S12532482 # Client - Incoming Issues (raised by Client) #Requirements progress is not progress

parent 34b8075f
...@@ -635,4 +635,9 @@ public class JobApplication extends BaseJobApplication ...@@ -635,4 +635,9 @@ public class JobApplication extends BaseJobApplication
return new RingChart(getID().toString() + "rolefit.jpeg").addData("Completed", score , color).addData("Incomplete", (100 - score), RingChart.GREY).getChartImage(); return new RingChart(getID().toString() + "rolefit.jpeg").addData("Completed", score , color).addData("Incomplete", (100 - score), RingChart.GREY).getChartImage();
} }
public double requirementCompletedPercentage()
{
return (getAssessmentCriteriaAnswersCount() * 100) / getJob().getAssessmentCriteriasCount();
}
} }
\ No newline at end of file
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
{ {
double roleFitVal = jobApplication.getCandidate().roleFitCompletedPercentage(job); double roleFitVal = jobApplication.getCandidate().roleFitCompletedPercentage(job);
double cultureVal = jobApplication.getCandidate().cultureCompletedPercentage(job); double cultureVal = jobApplication.getCandidate().cultureCompletedPercentage(job);
long criteriaVal = jobApplication.getRequirementFitScore(); double criteriaVal = jobApplication.requirementCompletedPercentage();
String roleFit = FormatUtils.stringify(roleFitVal, "PercentageWholeNumber", "0"); String roleFit = FormatUtils.stringify(roleFitVal, "PercentageWholeNumber", "0");
String culture = FormatUtils.stringify(cultureVal, "PercentageWholeNumber", "0"); String culture = FormatUtils.stringify(cultureVal, "PercentageWholeNumber", "0");
String criteria = FormatUtils.stringify(criteriaVal, "PercentageWholeNumber", "0"); String criteria = FormatUtils.stringify(criteriaVal, "PercentageWholeNumber", "0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment