Skip to content

Commit

Permalink
Merge pull request #864 from NSSuresh11/OLE-8961
Browse files Browse the repository at this point in the history
OLE-8961 : LOST NOTICE batch job billing patrons multiple times when run
  • Loading branch information
sheiksalahudeen authored Aug 12, 2016
2 parents c82d103 + a57415e commit 5d29a91
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ private BigDecimal getFineAmount(OleLoanDocument oleLoanDocument) {
OLEDeliverNotice deliverNotice = iterator.next();
if (deliverNotice.getNoticeType().equals(OLEConstants.NOTICE_LOST)) {
BigDecimal replacementFeeAmount = deliverNotice.getReplacementFeeAmount();
feeAmount = feeAmount.add(replacementFeeAmount);
if(replacementFeeAmount!=null) {
feeAmount = feeAmount.add(replacementFeeAmount);
}
}
}
return feeAmount;
Expand Down

0 comments on commit 5d29a91

Please sign in to comment.