From 261eafaa841acc0a3f1448c49bbe3bceffcf11b6 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Wed, 3 Jul 2019 12:32:15 +0300 Subject: [PATCH] Vacation Rule Implementation Completed --- .../src/app/hmg-common/services/connector/connector.service.ts | 2 +- Mohem/src/app/vacation-rule/home/home.component.html | 2 +- Mohem/src/app/vacation-rule/home/home.component.ts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Mohem/src/app/hmg-common/services/connector/connector.service.ts b/Mohem/src/app/hmg-common/services/connector/connector.service.ts index 4e0c6ddd..e640090b 100644 --- a/Mohem/src/app/hmg-common/services/connector/connector.service.ts +++ b/Mohem/src/app/hmg-common/services/connector/connector.service.ts @@ -17,7 +17,7 @@ export class ConnectorService { }; public static retryTimes = 0; public static timeOut = 30 * 1000; - // public static host = 'http://10.50.100.113:6060/'; // development service +// public static host = 'http://10.50.100.113:6060/'; // development service // public static host = 'https://hmgwebservices.com/'; diff --git a/Mohem/src/app/vacation-rule/home/home.component.html b/Mohem/src/app/vacation-rule/home/home.component.html index f9c2e08e..5f71bdcc 100644 --- a/Mohem/src/app/vacation-rule/home/home.component.html +++ b/Mohem/src/app/vacation-rule/home/home.component.html @@ -52,7 +52,7 @@ - + diff --git a/Mohem/src/app/vacation-rule/home/home.component.ts b/Mohem/src/app/vacation-rule/home/home.component.ts index 38d42351..a192200b 100644 --- a/Mohem/src/app/vacation-rule/home/home.component.ts +++ b/Mohem/src/app/vacation-rule/home/home.component.ts @@ -51,9 +51,8 @@ export class HomeComponent implements OnInit { this.getVacationRules(); }, this.ts.trPK('general', 'retry')).subscribe((result) => { if (this.cs.validResponse(result)) { - // console.log(result); - // console.log(JSON.stringify(result)); this.GetVacationRulesList = result.GetVacationRulesList; + console.log(result.GetVacationRulesList); } else { this.cs.presentAlert(result.ErrorEndUserMessage); }