|
|
|
|
@ -546,7 +546,7 @@ export class HomePage implements OnInit {
|
|
|
|
|
(result: OpenMissingSwipesResponse) => {
|
|
|
|
|
if (this.common.validResponse(result)) {
|
|
|
|
|
const key = "GetOpenMissingSwipesList";
|
|
|
|
|
this.statsButtons[1].statsValue = result[key].P_OPEN_MISSING_SWIPES;
|
|
|
|
|
this.statsButtons[1].statsValue = Math.floor(result[key].P_OPEN_MISSING_SWIPES);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
@ -617,7 +617,7 @@ openPeriodDateDashbored() {
|
|
|
|
|
ITGCountAllNotification() {
|
|
|
|
|
this.workListService.getITGDetails().subscribe((result: any) => {
|
|
|
|
|
this.statsButtons[0].statsValue =
|
|
|
|
|
this.countAllNotification + result.TotalCount;
|
|
|
|
|
Math.floor(this.countAllNotification + result.TotalCount);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -697,7 +697,7 @@ getSubordinatesAttStatus() {
|
|
|
|
|
"HMG Annual Vacation Accrual Plan"
|
|
|
|
|
) {
|
|
|
|
|
this.statsButtons[2].statsValue =
|
|
|
|
|
accrualBalance.ACCRUAL_NET_ENTITLEMENT;
|
|
|
|
|
Math.floor(accrualBalance.ACCRUAL_NET_ENTITLEMENT);
|
|
|
|
|
this.common.sharedService.setSharedData(
|
|
|
|
|
accrualBalance,
|
|
|
|
|
"leaveAccrualBalance"
|
|
|
|
|
@ -715,7 +715,7 @@ getSubordinatesAttStatus() {
|
|
|
|
|
totalTicketsLeft + accrualBalance.ACCRUAL_NET_ENTITLEMENT;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.statsButtons[3].statsValue = totalTicketsLeft;
|
|
|
|
|
this.statsButtons[3].statsValue = Math.floor(totalTicketsLeft);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|