Allow Loan re-aging transaction
This commit is contained in:
committed by
Adam Saghy
parent
c6b134fc17
commit
36a8e275be
@@ -142,6 +142,9 @@ export class TransactionsTabComponent implements OnInit {
|
||||
if (this.isDownPayment(transaction.type)) {
|
||||
return 'down-payment';
|
||||
}
|
||||
if (this.isReAge(transaction.type)) {
|
||||
return 'reage';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -209,6 +212,10 @@ export class TransactionsTabComponent implements OnInit {
|
||||
return (transactionType.downPayment || transactionType.code === 'loanTransactionType.downPayment');
|
||||
}
|
||||
|
||||
private isReAge(transactionType: any): boolean {
|
||||
return (transactionType.code === 'loanTransactionType.reAge');
|
||||
}
|
||||
|
||||
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