Skip to content

Commit

Permalink
feature/FBR-741 (#1424)
Browse files Browse the repository at this point in the history
* FBR-741

* FBR-742-FORECLOSURE PROJECTION

* FBR-742-FORECLOSURE PROJECTION

* FBR-742-FORECLOSURE PROJECTION

* FBR-742-FORECLOSURE PROJECTION
  • Loading branch information
BrianMuhimbura authored Dec 22, 2024
1 parent 7c32940 commit 9019d6f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2432,7 +2432,8 @@ public LoanTransactionData retrieveLoanForeclosureTemplate(final Long loanId, fi
this.context.authenticatedUser();

final Loan loan = this.loanRepositoryWrapper.findOneWithNotFoundDetection(loanId, true);
if (!isProjection) loan.validateForForeclosure(transactionDate);
if (!Boolean.TRUE.equals(isProjection))
loan.validateForForeclosure(transactionDate);
final MonetaryCurrency currency = loan.getCurrency();
final ApplicationCurrency applicationCurrency = this.applicationCurrencyRepository.findOneWithNotFoundDetection(currency);

Expand Down

0 comments on commit 9019d6f

Please sign in to comment.