diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index bfb0700..0d09160 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -39,6 +39,10 @@ const routes: Routes = [ path: 'merms-calendar', loadChildren: () => import('./merms-calendar/merms-calendar.module').then( m => m.MermsCalendarPageModule) }, + { + path: 'merms-wallet', + loadChildren: () => import('./merms-wallet/merms-wallet.module').then( m => m.MermsWalletPageModule) + }, ]; @NgModule({ diff --git a/src/app/merms-dash/merms-dash.page.html b/src/app/merms-dash/merms-dash.page.html index 350dc48..9f8bf15 100644 --- a/src/app/merms-dash/merms-dash.page.html +++ b/src/app/merms-dash/merms-dash.page.html @@ -25,8 +25,7 @@ - Balance

- N5000.34 + My Wallet

@@ -35,7 +34,7 @@ - Pending Encounter + Pending Consults @@ -54,7 +53,7 @@ - Recent Encounter + Recent Consults @@ -96,12 +95,12 @@

- +
- +
diff --git a/src/app/merms-dash/merms-dash.page.ts b/src/app/merms-dash/merms-dash.page.ts index e8f5d8e..3a89ebd 100644 --- a/src/app/merms-dash/merms-dash.page.ts +++ b/src/app/merms-dash/merms-dash.page.ts @@ -92,4 +92,9 @@ export class MermsDashPage implements OnInit { goCalendar() { this.router.navigateByUrl('/merms-calendar') } + goWallet() { + this.router.navigateByUrl('/merms-wallet') + } + + } diff --git a/src/app/merms-wallet/merms-wallet-routing.module.ts b/src/app/merms-wallet/merms-wallet-routing.module.ts new file mode 100644 index 0000000..a014b5e --- /dev/null +++ b/src/app/merms-wallet/merms-wallet-routing.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { MermsWalletPage } from './merms-wallet.page'; + +const routes: Routes = [ + { + path: '', + component: MermsWalletPage + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class MermsWalletPageRoutingModule {} diff --git a/src/app/merms-wallet/merms-wallet.module.ts b/src/app/merms-wallet/merms-wallet.module.ts new file mode 100644 index 0000000..9a5b278 --- /dev/null +++ b/src/app/merms-wallet/merms-wallet.module.ts @@ -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 { MermsWalletPageRoutingModule } from './merms-wallet-routing.module'; + +import { MermsWalletPage } from './merms-wallet.page'; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + IonicModule, + MermsWalletPageRoutingModule + ], + declarations: [MermsWalletPage] +}) +export class MermsWalletPageModule {} diff --git a/src/app/merms-wallet/merms-wallet.page.html b/src/app/merms-wallet/merms-wallet.page.html new file mode 100644 index 0000000..1820ccd --- /dev/null +++ b/src/app/merms-wallet/merms-wallet.page.html @@ -0,0 +1,9 @@ + + + merms-wallet + + + + + + diff --git a/src/app/merms-wallet/merms-wallet.page.scss b/src/app/merms-wallet/merms-wallet.page.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/merms-wallet/merms-wallet.page.spec.ts b/src/app/merms-wallet/merms-wallet.page.spec.ts new file mode 100644 index 0000000..36582a0 --- /dev/null +++ b/src/app/merms-wallet/merms-wallet.page.spec.ts @@ -0,0 +1,24 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { IonicModule } from '@ionic/angular'; + +import { MermsWalletPage } from './merms-wallet.page'; + +describe('MermsWalletPage', () => { + let component: MermsWalletPage; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ MermsWalletPage ], + imports: [IonicModule.forRoot()] + }).compileComponents(); + + fixture = TestBed.createComponent(MermsWalletPage); + component = fixture.componentInstance; + fixture.detectChanges(); + })); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/merms-wallet/merms-wallet.page.ts b/src/app/merms-wallet/merms-wallet.page.ts new file mode 100644 index 0000000..88aa3d5 --- /dev/null +++ b/src/app/merms-wallet/merms-wallet.page.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-merms-wallet', + templateUrl: './merms-wallet.page.html', + styleUrls: ['./merms-wallet.page.scss'], +}) +export class MermsWalletPage implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}