FINERACT-1724: Show reverted charge-off transactions
This commit is contained in:
committed by
Arnold Gálovics
parent
b40e700cc6
commit
1eab0fe1bd
+2
@@ -690,6 +690,8 @@ final class LoansApiResourceSwagger {
|
||||
public boolean creditBalanceRefund;
|
||||
@Schema(example = "false")
|
||||
public boolean chargeAdjustment;
|
||||
@Schema(example = "false")
|
||||
public boolean chargeoff;
|
||||
}
|
||||
|
||||
static final class GetLoansLoanIdPaymentDetailData {
|
||||
|
||||
+1
@@ -2806,6 +2806,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
||||
businessEventNotifierService.notifyPreBusinessEvent(new LoanUndoChargeOffBusinessEvent(chargedOffTransaction));
|
||||
|
||||
chargedOffTransaction.reverse();
|
||||
chargedOffTransaction.manuallyAdjustedOrReversed();
|
||||
loan.liftChargeOff();
|
||||
loanTransactionRepository.saveAndFlush(chargedOffTransaction);
|
||||
saveLoanWithDataIntegrityViolationChecks(loan);
|
||||
|
||||
Reference in New Issue
Block a user