Allow Loan re-amortize transaction

This commit is contained in:
Jose Alberto Hernandez
2024-03-06 12:46:04 +01:00
committed by Adam Saghy
parent a4fbde1edc
commit f52efaef44
23 changed files with 180 additions and 19 deletions
@@ -145,6 +145,9 @@ export class TransactionsTabComponent implements OnInit {
if (this.isReAge(transaction.type)) {
return 'reage';
}
if (this.isReAmortize(transaction.type)) {
return 'reamortize';
}
return '';
}
@@ -216,6 +219,10 @@ export class TransactionsTabComponent implements OnInit {
return (transactionType.code === 'loanTransactionType.reAge');
}
private isReAmortize(transactionType: any): boolean {
return (transactionType.code === 'loanTransactionType.reAmortize');
}
private reload() {
const clientId = this.route.parent.parent.snapshot.params['clientId'];
const loanId = this.route.parent.parent.snapshot.params['loanId'];