fix
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
<img src="./../../assets/imgs/avatar.svg">
|
<img src="./../../assets/imgs/avatar.svg">
|
||||||
</ion-avatar>
|
</ion-avatar>
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2 style="font-weight: bold;color: #8e54e9;">{{type.appt}} {{type.gender}} , {{type.age}} yrs</h2>
|
<h3 style="font-weight: bold;color: #8e54e9;">{{type.appt}} {{type.gender}} , {{type.age}} yrs</h3>
|
||||||
<h3>{{type.firstname}} {{type.lastname}}</h3>
|
<h3>{{type.firstname}} {{type.lastname}}</h3>
|
||||||
<h3>{{type.reason}}</h3>
|
<h3>{{type.reason}}</h3>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
@@ -51,14 +51,10 @@
|
|||||||
<h3 style="font-weight: bold;">Recent Consult(s)</h3>
|
<h3 style="font-weight: bold;">Recent Consult(s)</h3>
|
||||||
</ion-list-header>
|
</ion-list-header>
|
||||||
|
|
||||||
<ion-item *ngFor="let type of cardData" (click)="goPatient(type)">
|
<ion-item *ngFor="let type of cardData" (click)="goSelectPatient(type)">
|
||||||
<ion-avatar slot="start">
|
|
||||||
<img src="./../../assets/imgs/avatar.svg">
|
|
||||||
</ion-avatar>
|
|
||||||
<ion-label>
|
<ion-label>
|
||||||
|
<h3 style="font-weight: bold;color: #8e54e9;">{{type.appt}} {{type.gender}} , {{type.age}} yrs</h3>
|
||||||
<h2>{{type.firstname}} {{type.lastname}}</h2>
|
<h2>{{type.firstname}} {{type.lastname}}</h2>
|
||||||
<h3>{{type.reason}}</h3>
|
|
||||||
<p>{{type.appt}} {{type.gender}} , {{type.age}} yrs</p>
|
|
||||||
</ion-label>
|
</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
|
|||||||
@@ -111,5 +111,13 @@ goPracticepatients(){
|
|||||||
this.router.navigateByUrl('/merms-wallet');
|
this.router.navigateByUrl('/merms-wallet');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
goSelectPatient(patientData: any) {
|
||||||
|
let navigationExtras: NavigationExtras = {
|
||||||
|
queryParams: {
|
||||||
|
special: JSON.stringify(patientData)
|
||||||
|
}
|
||||||
|
};
|
||||||
|
this.router.navigateByUrl('/merms-selectedpatient',navigationExtras);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user