Allow Loan re-amortize transaction
This commit is contained in:
committed by
Adam Saghy
parent
a4fbde1edc
commit
f52efaef44
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user