fixed prod build issue

MOHEMM-SFH-COLORS
umasoodch 4 years ago
parent 4b923bbb09
commit aa94446cef

@ -116,25 +116,25 @@ export class SitListComponent implements OnInit {
} }
}); });
} }
// public getAccrualBalance() { public getAccrualBalance() {
// if (this.Sdate) { // if (this.Sdate) {
// let today = new Date(this.Sdate); // let today = new Date(this.Sdate);
// let day = today.getDate(); // let day = today.getDate();
// let month = today.getMonth() + 1; // let month = today.getMonth() + 1;
// let year = today.getFullYear(); // let year = today.getFullYear();
// let todayDate = month + '/' + day + '/' + year; // let todayDate = month + '/' + day + '/' + year;
// let effectiveDate = todayDate; // let effectiveDate = todayDate;
// const request = { // const request = {
// P_SELECTED_EMPLOYEE_NUMBER: this.selEmp, // P_SELECTED_EMPLOYEE_NUMBER: this.selEmp,
// P_EFFECTIVE_DATE: effectiveDate // P_EFFECTIVE_DATE: effectiveDate
// }; // };
// this.accrualService // this.accrualService
// .getAccrualBalances(request) // .getAccrualBalances(request)
// .subscribe((result: any) => { // .subscribe((result: any) => {
// this.handleAccrualResult(result); // this.handleAccrualResult(result);
// }); // });
// } // }
// } }
handleAccrualResult(result) { handleAccrualResult(result) {
if (this.cs.validResponse(result)) { if (this.cs.validResponse(result)) {
this.balance=result.GetAccrualBalancesList; this.balance=result.GetAccrualBalancesList;

Loading…
Cancel
Save