From 72e14308c9f75fb9093e6aed3b6ec7f63a2eaf1f Mon Sep 17 00:00:00 2001 From: ashwaq Date: Thu, 16 Apr 2020 18:37:54 +0300 Subject: [PATCH] fix get subordainte leave in worklist --- .../app/notification/worklist-main/worklist-main.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mohem/src/app/notification/worklist-main/worklist-main.component.ts b/Mohem/src/app/notification/worklist-main/worklist-main.component.ts index 8f284ef6..bb660db8 100644 --- a/Mohem/src/app/notification/worklist-main/worklist-main.component.ts +++ b/Mohem/src/app/notification/worklist-main/worklist-main.component.ts @@ -933,8 +933,8 @@ export class WorklistMainComponent implements OnInit { const request = new GetSubordinatesLeavesRequest(); - request.P_DATE_FROM = "/Date(" + Date.parse(from) + ")/";//new Date(from); - request.P_DATE_TO = "/Date(" + Date.parse(to) + ")/" //new Date(to); + request.P_DATE_FROM = "/Date(" + Date.parse(from) + '+0300'+ ")/";//new Date(from); + request.P_DATE_TO = "/Date(" + Date.parse(to) + '+0300'+ ")/" //new Date(to); request.P_SELECTED_EMPLOYEE_NUMBER = this.selEmp; // ="'/Date(" + Date.parse(from) + ")'"