FIXED MY REQUEST

MOE_DEV_NEW_TEMPORARY_DESIGN
umasoodch 3 years ago
parent e96c0d0e10
commit 4a9a712a47

@ -60,7 +60,7 @@
{{ts.trPK('userProfile','HR-Request')}}
</ion-label>
</ion-item> -->
<div *ngFor="let menu of menuList">
<!-- <div *ngFor="let menu of menuList">
<ion-item (click)="oepnMyRequest(menu)" *ngIf="menu.MENU_TYPE == 'E'">
<ion-thumbnail slot="start" class="menu-thumb">
<img style= "height: 20px !important;" src="../assets/imgs/my-request.png" item-left>
@ -69,7 +69,7 @@
{{menu.MENU_NAME}}
</ion-label>
</ion-item>
</div>
</div> -->
<!-- <ion-item (click)="oepnTransaction()">
<ion-thumbnail slot="start" class="menu-thumb">
@ -182,7 +182,7 @@
{{ts.trPK('userProfile','HR-Request')}}
</ion-label>
</ion-item> -->
<div *ngFor="let menu of menuList">
<!-- <div *ngFor="let menu of menuList">
<ion-item (click)="oepnMyRequest(menu)" *ngIf="menu.MENU_TYPE == 'E'">
<ion-thumbnail slot="start" class="menu-thumb">
<img style= "height: 20px !important;" src="../assets/imgs/my-request.png" item-left>
@ -191,7 +191,7 @@
{{menu.MENU_NAME}}
</ion-label>
</ion-item>
</div>
</div> -->
<!-- <ion-item (click)="oepnTransaction()">
<ion-thumbnail slot="start" class="menu-thumb">

@ -134,6 +134,7 @@ export class HomePage implements OnInit {
direction: string;
public isPostNoLoad = true;
public showStaticServices = false;
public myRequestData: any;
constructor(
public ts: TranslatorService,
@ -432,6 +433,10 @@ export class HomePage implements OnInit {
} else {
this.events.publish('myTeamFlag', 'false');
}
if (this.menuList[i].MENU_TYPE === 'E') {
this.myRequestData = this.menuList[i];
}
}
// if (item.MENU_TYPE === 'M') {
@ -868,6 +873,7 @@ export class HomePage implements OnInit {
// tslint:disable-next-line: triple-equals
} else if (link == '4') {
// this.openPage(this.ticketRequestObject);
this.common.sharedService.setSharedData(this.myRequestData, MenuResponse.SELECTED_MENU);
this.common.openConcurrentTransactionsHome();
// if (this.menuList) {

Loading…
Cancel
Save