From 594a828e586fb245ad44d0a038cd2edf53e25df2 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Wed, 8 Jun 2022 10:37:43 +0300 Subject: [PATCH] added changes specifically for HMG Mohemm --- .../services/attend-services/attend-scan.service.ts | 2 +- .../services/authentication/authentication.service.ts | 6 +++--- .../mowadhafi/hr-request-form/hr-request-form.component.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts b/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts index 29c24f36..30002b70 100644 --- a/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts +++ b/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts @@ -34,7 +34,7 @@ export class AttendScanService { userData: any = {}; public isFakeLocationUsed = false; public isGpsRequired = false; - public collection = 'CS'; + public collection = 'HMG'; constructor(private device: Device, private zbar: ZBar, diff --git a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts index 55367138..a696fc2d 100644 --- a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts +++ b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts @@ -146,7 +146,7 @@ export class AuthenticationService { mobileType = 'android'; } request.VersionID = 3.6; - request.Channel = 31; + request.Channel = 33; request.LanguageID = TranslatorService.getCurrentLanguageCode(); request.MobileType = mobileType; @@ -228,7 +228,7 @@ export class AuthenticationService { public login(request: LoginRequest, onError: any, errorLabel: string): Observable { this.setPublicFields(request); - request.P_APP_VERSION = "CS"; + request.P_APP_VERSION = "HMG"; return this.con.post(AuthenticationService.login, request, onError, errorLabel); } @@ -485,7 +485,7 @@ export class AuthenticationService { public checkUserAuthentication(request: CheckUserAuthenticationRequest, onError: any, errorLabel: string) : Observable { this.setPublicFields(request); - request.P_APP_VERSION = "CS"; + request.P_APP_VERSION = "HMG"; return this.con.post(AuthenticationService.userChecking, request, onError, errorLabel); } diff --git a/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts b/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts index 1ec8c7ed..6f4702f3 100644 --- a/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts +++ b/Mohem/src/app/mowadhafi/hr-request-form/hr-request-form.component.ts @@ -35,7 +35,7 @@ export class HrRequestFormComponent implements OnInit { public searchKeySelect = 'Complaints'; myColor: string = 'secondary'; public showRequestDetails = false; - public proID = "CS" + public proID = "HMG" public inquiry: string; public HR: string; public complaints: string;