josehernandezfintecheandomx commented on code in PR #2566:
URL: https://github.com/apache/fineract/pull/2566#discussion_r962376695
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -6864,4 +6860,23 @@ public Collection<LoanCharge> getCharges() {
// Return empty set instead of null to avoid NPE
return Optional.ofNullable(this.charges).orElse(new HashSet<>());
}
+
+ public boolean hasDelinquencyBucket() {
+ return (getLoanProduct().getDelinquencyBucket() != null);
+ }
+
+ public Long getAgeOfOverdueDays(LocalDate baseDate) {
+ Long ageOfOverdueDays = 0L;
+
+ if (this.repaymentScheduleInstallments.size() > 0) {
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]