Allow Loan re-aging transaction

This commit is contained in:
Jose Alberto Hernandez
2024-02-28 09:20:36 +01:00
committed by Adam Saghy
parent c6b134fc17
commit 36a8e275be
25 changed files with 297 additions and 3 deletions
@@ -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'];