Support Chargeback for different Loan transactions

This commit is contained in:
Jose Alberto Hernandez
2024-06-26 11:47:50 -06:00
committed by Jose Alberto Hernandez
parent 006c9682ee
commit e216c4b0d5
@@ -103,6 +103,7 @@ export class ViewTransactionComponent implements OnInit {
}); });
this.clientId = this.route.snapshot.params['clientId']; this.clientId = this.route.snapshot.params['clientId'];
this.loanId = this.route.snapshot.params['loanId']; this.loanId = this.route.snapshot.params['loanId'];
console.log(this.transactionType);
} }
ngOnInit(): void { ngOnInit(): void {
@@ -176,7 +177,7 @@ export class ViewTransactionComponent implements OnInit {
}) })
]; ];
const data = { const data = {
title: 'Chargeback Repayment Transaction', title: `Chargeback ${this.transactionType.value} Transaction`,
layout: { addButtonText: 'Chargeback' }, layout: { addButtonText: 'Chargeback' },
formfields: formfields formfields: formfields
}; };