feat: add list view standing instructions (#1152)

Fixes: #267
This commit is contained in:
Muskan Khedia
2020-07-23 17:22:28 +05:30
committed by GitHub
parent 63a9e46fc2
commit cb62fefbfa
18 changed files with 410 additions and 18 deletions
@@ -96,8 +96,12 @@ export class ClientsViewComponent implements OnInit {
this.deleteProfileImage();
break;
case 'Create Standing Instructions':
const queryParams: any = { officeId: this.clientViewData.officeId, accountType: 'fromsavings' };
this.router.navigate(['standing-instructions/create-standing-instructions'], { relativeTo: this.route, queryParams: queryParams });
const createStandingInstructionsQueryParams: any = { officeId: this.clientViewData.officeId, accountType: 'fromsavings' };
this.router.navigate(['standing-instructions/create-standing-instructions'], { relativeTo: this.route, queryParams: createStandingInstructionsQueryParams });
break;
case 'View Standing Instructions':
const viewStandingInstructionsQueryParams: any = { officeId: this.clientViewData.officeId, accountType: 'fromsavings' };
this.router.navigate(['standing-instructions/list-standing-instructions'], { relativeTo: this.route, queryParams: viewStandingInstructionsQueryParams });
break;
}
}