add bank
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { AddbankPage } from './addbank.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: AddbankPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class AddbankPageRoutingModule {}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { AddbankPageRoutingModule } from './addbank-routing.module';
|
||||
|
||||
import { AddbankPage } from './addbank.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
AddbankPageRoutingModule
|
||||
],
|
||||
declarations: [AddbankPage]
|
||||
})
|
||||
export class AddbankPageModule {}
|
||||
@@ -0,0 +1,9 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>addbank</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
|
||||
</ion-content>
|
||||
@@ -0,0 +1,24 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { AddbankPage } from './addbank.page';
|
||||
|
||||
describe('AddbankPage', () => {
|
||||
let component: AddbankPage;
|
||||
let fixture: ComponentFixture<AddbankPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ AddbankPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(AddbankPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-addbank',
|
||||
templateUrl: './addbank.page.html',
|
||||
styleUrls: ['./addbank.page.scss'],
|
||||
})
|
||||
export class AddbankPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -234,6 +234,10 @@ const routes: Routes = [
|
||||
path: 'logout',
|
||||
loadChildren: () => import('./pages/logout/logout.module').then(m => m.LogoutPageModule)
|
||||
},
|
||||
{
|
||||
path: 'addbank',
|
||||
loadChildren: () => import('./accounts/addbank/addbank.module').then(m => m.AddbankPageModule)
|
||||
},
|
||||
|
||||
];
|
||||
@NgModule({
|
||||
|
||||
@@ -290,8 +290,7 @@ this.usrData = {action:11200, member_id: this.sessionDataProviderService.member_
|
||||
|
||||
}
|
||||
addNewBank(){
|
||||
|
||||
|
||||
this.router.navigate(['addbank']);
|
||||
}
|
||||
//recipientAccount
|
||||
|
||||
|
||||
Reference in New Issue
Block a user