|
|
|
@ -372,7 +372,8 @@ export class HomePage implements OnInit {
|
|
|
|
|
|
|
|
|
|
|
|
callDashboardServices() {
|
|
|
|
callDashboardServices() {
|
|
|
|
this.getMenu();
|
|
|
|
this.getMenu();
|
|
|
|
this.setServicesPrivilage();
|
|
|
|
this.statsButtons[1].show = true;
|
|
|
|
|
|
|
|
// this.setServicesPrivilage();
|
|
|
|
if (this.common.getTotalNumberOfWorklistRequest()) {
|
|
|
|
if (this.common.getTotalNumberOfWorklistRequest()) {
|
|
|
|
this.statsButtons[0].statsValue = this.common.getTotalNumberOfWorklistRequest();
|
|
|
|
this.statsButtons[0].statsValue = this.common.getTotalNumberOfWorklistRequest();
|
|
|
|
this.showLoader = false;
|
|
|
|
this.showLoader = false;
|
|
|
|
@ -384,7 +385,7 @@ export class HomePage implements OnInit {
|
|
|
|
//this.showAttendanceTracking();
|
|
|
|
//this.showAttendanceTracking();
|
|
|
|
//var accrualBalance = this.common.sharedService.getSharedData('leaveAccrualBalance', false);
|
|
|
|
//var accrualBalance = this.common.sharedService.getSharedData('leaveAccrualBalance', false);
|
|
|
|
// if (!accrualBalance)
|
|
|
|
// if (!accrualBalance)
|
|
|
|
// this.getAccrualBalance();
|
|
|
|
this.getAccrualBalance();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Vacation_Rule() {
|
|
|
|
public Vacation_Rule() {
|
|
|
|
@ -427,6 +428,8 @@ export class HomePage implements OnInit {
|
|
|
|
if (this.menuList[i].MENU_TYPE === 'M') {
|
|
|
|
if (this.menuList[i].MENU_TYPE === 'M') {
|
|
|
|
this.events.publish('myTeamFlag', 'true');
|
|
|
|
this.events.publish('myTeamFlag', 'true');
|
|
|
|
// this.common.sharedService.setSharedData('true', "myTeamFlag");
|
|
|
|
// this.common.sharedService.setSharedData('true', "myTeamFlag");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.events.publish('myTeamFlag', 'false');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|