MIFOSX-335: Fix error with adding loan charge to loan application.
This commit is contained in:
+1
-1
@@ -475,7 +475,7 @@ public class Loan extends AbstractPersistable<Long> {
|
|||||||
|
|
||||||
// if loan charge is to be applied on a future date, the loan
|
// if loan charge is to be applied on a future date, the loan
|
||||||
// transaction would show todays date as applied date
|
// transaction would show todays date as applied date
|
||||||
if (currentDate.isBefore(transactionDate)) {
|
if (transactionDate == null || currentDate.isBefore(transactionDate)) {
|
||||||
transactionDate = currentDate;
|
transactionDate = currentDate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user