@@ -229,6 +229,10 @@ const routes: Routes = [
|
||||
path: 'sharesaccounts',
|
||||
loadChildren: '../shares/shares.module#SharesModule'
|
||||
},
|
||||
{
|
||||
path: 'standing-instructions',
|
||||
loadChildren: '../account-transfers/account-transfers.module#AccountTransfersModule'
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
<button mat-raised-button>+ Deposit</button>
|
||||
<button mat-raised-button [matMenuTriggerFor]="More">More</button>
|
||||
<mat-menu #More="matMenu">
|
||||
<button mat-menu-item (click)="doAction('Create Standing Instructions')">Create Standing Instructions</button>
|
||||
<button mat-menu-item [routerLink]="['sharesaccounts', 'create-shares-account']">New Share Account</button>
|
||||
<button mat-menu-item [routerLink]="['recurringdeposits', 'create-recurring-deposits-account']">New Recurring Deposit Account</button>
|
||||
<button mat-menu-item [routerLink]="['fixed-deposits-accounts', 'create-fixed-deposit-account']">New Fixed Deposits Account</button>
|
||||
|
||||
@@ -95,6 +95,10 @@ export class ClientsViewComponent implements OnInit {
|
||||
case 'Delete Image':
|
||||
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 });
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user