feat: savings account actions (approve) (#906)

Fixes: #905
This commit is contained in:
Karan Takalkar
2020-06-24 22:30:18 +05:30
committed by GitHub
parent 9d64300137
commit a9cd990184
13 changed files with 279 additions and 125 deletions
@@ -89,9 +89,12 @@ export class SavingsAccountViewComponent implements OnInit {
doAction(name: string) {
switch (name) {
case 'Approve':
this.router.navigate([`actions/${name}`], { relativeTo: this.route });
break;
case 'Modify Application':
this.router.navigate(['edit-savings-account'], { relativeTo: this.route });
break;
this.router.navigate(['edit-savings-account'], { relativeTo: this.route });
break;
}
}