fix: client charges routing and module structure (#1114)

Fixes: #1113
This commit is contained in:
Karan Takalkar
2020-07-15 19:23:57 +05:30
committed by GitHub
parent 2670137564
commit fbe0935154
18 changed files with 47 additions and 27 deletions
@@ -35,8 +35,6 @@ export class GeneralTabComponent {
showClosedFixedAccounts = false;
clientid: any;
/** Route to Charges */
routeToCharges: any;
constructor(
private route: ActivatedRoute,
@@ -51,11 +49,6 @@ export class GeneralTabComponent {
this.clientSummary = data.clientSummary[0];
this.clientid = this.route.parent.snapshot.params['clientId'];
});
/** Get Client Id and generate the route link. */
this.route.parent.params.subscribe((params: any) => {
this.routeToCharges = '../../' + params.clientId + '/charges';
});
}
toggleLoanAccountsOverview() {