Skip to content

Commit

Permalink
MITKC-2124- RRbudget form basesalary by period data printing issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
avvineeth authored and Geo Thomas committed Sep 3, 2015
1 parent 2e0f599 commit 6b3209a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,9 @@ else if (personDetails.getPeriodTypeCode().equals(
}
BudgetPersonContract budgetPerson = personDetails.getBudgetPerson();
if (budgetPerson != null) {
baseAmount = budgetPerson.getCalculationBase();
ScaleTwoDecimal baseSalaryByPeriod = getBaseSalaryByPeriod(budget.getBudgetId(), budgetPeriod.getBudgetPeriod(), keyPerson);
if(baseSalaryByPeriod!=null){
baseAmount = baseSalaryByPeriod;
// baseAmount must be set to the first record value in
// case
// the execution doesnt enter the if condition below
Expand All @@ -2014,8 +2016,9 @@ else if (personDetails.getPeriodTypeCode().equals(
ConfigurationConstants.S2SBUDGET_APPOINTMENT_TYPE_SUM_EMPLOYEE))
&& !apptTypeCode.equals(s2SConfigurationService.getValueAsString(
ConfigurationConstants.S2SBUDGET_APPOINTMENT_TYPE_TMP_EMPLOYEE))) {
baseAmount = budgetPerson.getCalculationBase();
baseAmount = baseSalaryByPeriod;
}
}
}
}

Expand Down

0 comments on commit 6b3209a

Please sign in to comment.