+2
-2
@@ -13,7 +13,7 @@ import { ActivatedRoute } from '@angular/router';
|
||||
})
|
||||
export class ChargesTabComponent implements OnInit {
|
||||
|
||||
/** Fixed Deposits Account Data */
|
||||
/** Recurring Deposits Account Data */
|
||||
recurringDepositsAccountData: any;
|
||||
/** Charges Data */
|
||||
chargesData: any[];
|
||||
@@ -40,7 +40,7 @@ export class ChargesTabComponent implements OnInit {
|
||||
@ViewChild('chargesTable') chargesTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Retrieves Fixed Deposits Account Data from `resolve`.
|
||||
* Retrieves Recurring Deposits Account Data from `resolve`.
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
*/
|
||||
constructor(private route: ActivatedRoute) {
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ export class MultiRowComponent implements OnInit, OnChanges {
|
||||
private datePipe: DatePipe,
|
||||
private savingsService: SavingsService,
|
||||
private dialog: MatDialog) {
|
||||
this.accountId = this.route.parent.parent.snapshot.paramMap.get('fixedDepositAccountId');
|
||||
this.accountId = this.route.parent.parent.snapshot.paramMap.get('recurringDepositAccountId');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ export class SingleRowComponent implements OnInit {
|
||||
private datePipe: DatePipe,
|
||||
private dialog: MatDialog,
|
||||
private savingsService: SavingsService) {
|
||||
this.accountId = this.route.parent.parent.snapshot.paramMap.get('fixedDepositAccountId');
|
||||
this.accountId = this.route.parent.parent.snapshot.paramMap.get('recurringDepositAccountId');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
@@ -81,6 +81,7 @@ export class RecurringDepositsAccountViewComponent implements OnInit {
|
||||
case 'Approve':
|
||||
case 'Reject':
|
||||
case 'Undo Approval':
|
||||
case 'Add Charge':
|
||||
case 'Withdraw By Client':
|
||||
this.router.navigate([`actions/${name}`], { relativeTo: this.route });
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user