josehernandezfintecheandomx commented on code in PR #2739:
URL: https://github.com/apache/fineract/pull/2739#discussion_r1025229194
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/service/DelinquencyWritePlatformServiceImpl.java:
##########
@@ -233,15 +174,9 @@ public void
applyDelinquencyTagToLoan(LoanScheduleDelinquencyData loanDelinquenc
if (loan.hasDelinquencyBucket()) {
final LocalDate businessDate = DateUtils.getBusinessLocalDate();
final DelinquencyBucket delinquencyBucket =
loan.getLoanProduct().getDelinquencyBucket();
- final Integer graceOnArrearAgeing =
loan.getLoanProduct().getLoanProductRelatedDetail().getGraceOnArrearsAgeing();
-
- LocalDate overdueSinceDate =
loanDelinquencyData.getOverdueSinceDate();
- if (overdueSinceDate == null) {
- getOverdueSinceDate(loan, businessDate, graceOnArrearAgeing);
- }
-
- final Long overdueDays = calculateOverdueDays(businessDate,
overdueSinceDate);
- lookUpDelinquencyRange(loan, delinquencyBucket, overdueDays);
+ final CollectionData collectionData =
this.loanCollectionDomainService.getOverdueCollectionData(loan, businessDate);
+ log.debug("Delinquency {}", collectionData.toString());
Review Comment:
Removed
--
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]