Fix display view to Loan disbursement to Savings Account (#1610)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2022-12-29 17:10:58 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 6431ede355
commit 85e3d99e9f
12 changed files with 58 additions and 68 deletions
@@ -1,6 +1,6 @@
/** Angular Imports. */
import { Component } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivatedRoute } from '@angular/router';
/**
* Loan Account Actions component.
@@ -21,7 +21,7 @@ export class LoanAccountActionsComponent {
'Foreclosure': boolean,
'Prepay Loan': boolean,
'Reject': boolean,
'Disburse To Savings': boolean,
'Disburse to Savings': boolean,
'Make Repayment': boolean,
'Waive Interest': boolean,
'Close (as Rescheduled)': boolean,
@@ -50,7 +50,7 @@ export class LoanAccountActionsComponent {
'Foreclosure': false,
'Prepay Loan': false,
'Reject': false,
'Disburse To Savings': false,
'Disburse to Savings': false,
'Make Repayment': false,
'Waive Interest': false,
'Close (as Rescheduled)': false,
@@ -76,11 +76,9 @@ export class LoanAccountActionsComponent {
actionName: any;
/**
* @param router Router.
* @param route Activated Route.
*/
constructor(private router: Router,
private route: ActivatedRoute) {
constructor(private route: ActivatedRoute) {
this.route.data.subscribe(( data: { actionButtonData: any }) => {
this.actionButtonData = data.actionButtonData;
});