From aa94446cef5b3b0932a672533be0fccaf3f3f2f5 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Wed, 2 Mar 2022 10:19:50 +0300 Subject: [PATCH] fixed prod build issue --- .../app/sit/sit-list/sit-list.component.ts | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Mohem/src/app/sit/sit-list/sit-list.component.ts b/Mohem/src/app/sit/sit-list/sit-list.component.ts index b99be8dc..738b4d59 100644 --- a/Mohem/src/app/sit/sit-list/sit-list.component.ts +++ b/Mohem/src/app/sit/sit-list/sit-list.component.ts @@ -116,25 +116,25 @@ export class SitListComponent implements OnInit { } }); } - // public getAccrualBalance() { - // if (this.Sdate) { - // let today = new Date(this.Sdate); - // let day = today.getDate(); - // let month = today.getMonth() + 1; - // let year = today.getFullYear(); - // let todayDate = month + '/' + day + '/' + year; - // let effectiveDate = todayDate; - // const request = { - // P_SELECTED_EMPLOYEE_NUMBER: this.selEmp, - // P_EFFECTIVE_DATE: effectiveDate - // }; - // this.accrualService - // .getAccrualBalances(request) - // .subscribe((result: any) => { - // this.handleAccrualResult(result); - // }); - // } - // } + public getAccrualBalance() { + // if (this.Sdate) { + // let today = new Date(this.Sdate); + // let day = today.getDate(); + // let month = today.getMonth() + 1; + // let year = today.getFullYear(); + // let todayDate = month + '/' + day + '/' + year; + // let effectiveDate = todayDate; + // const request = { + // P_SELECTED_EMPLOYEE_NUMBER: this.selEmp, + // P_EFFECTIVE_DATE: effectiveDate + // }; + // this.accrualService + // .getAccrualBalances(request) + // .subscribe((result: any) => { + // this.handleAccrualResult(result); + // }); + // } + } handleAccrualResult(result) { if (this.cs.validResponse(result)) { this.balance=result.GetAccrualBalancesList;