Enhancement in loan and savings account views (#1690)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-02-22 23:15:51 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent c0185627f7
commit 6ef53c6462
91 changed files with 841 additions and 568 deletions
@@ -119,7 +119,7 @@ export class ViewTransactionComponent implements OnInit {
* Undo the loans transaction
*/
undoTransaction() {
const accountId = this.route.parent.parent.parent.snapshot.params['loanId'];
const accountId = this.route.snapshot.params['loanId'];
const undoTransactionAccountDialogRef = this.dialog.open(ConfirmationDialogComponent, {
data: { heading: 'Undo Transaction', dialogContext: `Are you sure you want undo the transaction ${this.transactionData.id}` }
});
@@ -141,7 +141,7 @@ export class ViewTransactionComponent implements OnInit {
}
chargebackTransaction() {
const accountId = this.route.parent.parent.parent.snapshot.params['loanId'];
const accountId = this.route.snapshot.params['loanId'];
const formfields: FormfieldBase[] = [
new SelectBase({
controlName: 'paymentTypeId',