fix
This commit is contained in:
@@ -39,6 +39,10 @@ const routes: Routes = [
|
|||||||
path: 'merms-calendar',
|
path: 'merms-calendar',
|
||||||
loadChildren: () => import('./merms-calendar/merms-calendar.module').then( m => m.MermsCalendarPageModule)
|
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({
|
@NgModule({
|
||||||
|
|||||||
@@ -25,8 +25,7 @@
|
|||||||
</ion-col>
|
</ion-col>
|
||||||
<ion-col style="background-color: aquamarine; ">
|
<ion-col style="background-color: aquamarine; ">
|
||||||
|
|
||||||
Balance<p>
|
My Wallet<p>
|
||||||
N5000.34
|
|
||||||
|
|
||||||
</ion-col>
|
</ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
@@ -35,7 +34,7 @@
|
|||||||
|
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-list-header>
|
<ion-list-header>
|
||||||
Pending Encounter
|
Pending Consults
|
||||||
</ion-list-header>
|
</ion-list-header>
|
||||||
|
|
||||||
<ion-item *ngFor="let type of pendingEncounterData" (click)="goPatient(type)">
|
<ion-item *ngFor="let type of pendingEncounterData" (click)="goPatient(type)">
|
||||||
@@ -54,7 +53,7 @@
|
|||||||
|
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-list-header>
|
<ion-list-header>
|
||||||
Recent Encounter
|
Recent Consults
|
||||||
</ion-list-header>
|
</ion-list-header>
|
||||||
|
|
||||||
<ion-item *ngFor="let type of cardData" (click)="goPatient(type)">
|
<ion-item *ngFor="let type of cardData" (click)="goPatient(type)">
|
||||||
@@ -96,12 +95,12 @@
|
|||||||
</ion-col>
|
</ion-col>
|
||||||
<ion-col>
|
<ion-col>
|
||||||
<div>
|
<div>
|
||||||
<ion-icon name="calendar" style="color:green;" (click)="goCalendar()"></ion-icon>
|
<ion-icon name="calendar" style="color:aquamarine;" (click)="goCalendar()"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
<ion-col>
|
<ion-col>
|
||||||
<div>
|
<div>
|
||||||
<ion-icon name="grid" style="color:blue;" (click)="goPractice()"></ion-icon>
|
<ion-icon name="wallet" style="color:green;" (click)="goWallet()"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
|
|
||||||
|
|||||||
@@ -92,4 +92,9 @@ export class MermsDashPage implements OnInit {
|
|||||||
goCalendar() {
|
goCalendar() {
|
||||||
this.router.navigateByUrl('/merms-calendar')
|
this.router.navigateByUrl('/merms-calendar')
|
||||||
}
|
}
|
||||||
|
goWallet() {
|
||||||
|
this.router.navigateByUrl('/merms-wallet')
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {}
|
||||||
@@ -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 {}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<ion-header>
|
||||||
|
<ion-toolbar>
|
||||||
|
<ion-title>merms-wallet</ion-title>
|
||||||
|
</ion-toolbar>
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
|
<ion-content>
|
||||||
|
|
||||||
|
</ion-content>
|
||||||
@@ -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<MermsWalletPage>;
|
||||||
|
|
||||||
|
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();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -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() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user