From 5e389beb9849851e5ddb779852947ec3efd4e7d9 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Mon, 30 Aug 2021 14:53:06 +0300 Subject: [PATCH] fixed feedback issues --- .../hmg-common/ui/stats-button/stats-button.component.scss | 2 +- Mohem/src/app/home/home.page.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Mohem/src/app/hmg-common/ui/stats-button/stats-button.component.scss b/Mohem/src/app/hmg-common/ui/stats-button/stats-button.component.scss index 995c5284..0663997a 100644 --- a/Mohem/src/app/hmg-common/ui/stats-button/stats-button.component.scss +++ b/Mohem/src/app/hmg-common/ui/stats-button/stats-button.component.scss @@ -29,7 +29,7 @@ .titleBox { display: block; span { - font-size: 30px; + font-size: 25px; font-weight: bold; color: black; text-align: left; diff --git a/Mohem/src/app/home/home.page.ts b/Mohem/src/app/home/home.page.ts index c526e729..14ad0659 100644 --- a/Mohem/src/app/home/home.page.ts +++ b/Mohem/src/app/home/home.page.ts @@ -737,7 +737,7 @@ export class HomePage implements OnInit { this.accrualBalancesList = result.GetAccrualBalancesList; for (const accrualBalance of result.GetAccrualBalancesList) { if (accrualBalance.ACCURAL_PLAN_NAME === 'HMG Annual Vacation Accrual Plan') { - this.statsButtons[3].statsValue = accrualBalance.ACCRUAL_NET_ENTITLEMENT; + this.statsButtons[3].statsValue = parseInt(accrualBalance.ACCRUAL_NET_ENTITLEMENT.toFixed(2)); this.common.sharedService.setSharedData(accrualBalance, 'leaveAccrualBalance'); this.common.sharedService.setSharedData(request, 'leaveAccrualBalanceDate'); this.common.sharedService.setSharedData(this.accrualBalancesList, 'tickitsbalance'); @@ -745,7 +745,7 @@ export class HomePage implements OnInit { totalTicketsLeft = totalTicketsLeft + accrualBalance.ACCRUAL_NET_ENTITLEMENT; } } - this.statsButtons[4].statsValue = totalTicketsLeft; + this.statsButtons[4].statsValue = parseInt(totalTicketsLeft.toFixed(2)); } }); }