added changes specifically for HMG Mohemm

MOHEMM-Q3-DEV-LATEST
umasoodch 4 years ago
parent d1fbd0b5f0
commit 594a828e58

@ -34,7 +34,7 @@ export class AttendScanService {
userData: any = {}; userData: any = {};
public isFakeLocationUsed = false; public isFakeLocationUsed = false;
public isGpsRequired = false; public isGpsRequired = false;
public collection = 'CS'; public collection = 'HMG';
constructor(private device: Device, constructor(private device: Device,
private zbar: ZBar, private zbar: ZBar,

@ -146,7 +146,7 @@ export class AuthenticationService {
mobileType = 'android'; mobileType = 'android';
} }
request.VersionID = 3.6; request.VersionID = 3.6;
request.Channel = 31; request.Channel = 33;
request.LanguageID = TranslatorService.getCurrentLanguageCode(); request.LanguageID = TranslatorService.getCurrentLanguageCode();
request.MobileType = mobileType; request.MobileType = mobileType;
@ -228,7 +228,7 @@ export class AuthenticationService {
public login(request: LoginRequest, onError: any, errorLabel: string): Observable<Response> { public login(request: LoginRequest, onError: any, errorLabel: string): Observable<Response> {
this.setPublicFields(request); this.setPublicFields(request);
request.P_APP_VERSION = "CS"; request.P_APP_VERSION = "HMG";
return this.con.post(AuthenticationService.login, request, onError, errorLabel); return this.con.post(AuthenticationService.login, request, onError, errorLabel);
} }
@ -485,7 +485,7 @@ export class AuthenticationService {
public checkUserAuthentication(request: CheckUserAuthenticationRequest, onError: any, errorLabel: string) public checkUserAuthentication(request: CheckUserAuthenticationRequest, onError: any, errorLabel: string)
: Observable<CheckUserAuthenticationResponse> { : Observable<CheckUserAuthenticationResponse> {
this.setPublicFields(request); this.setPublicFields(request);
request.P_APP_VERSION = "CS"; request.P_APP_VERSION = "HMG";
return this.con.post(AuthenticationService.userChecking, request, onError, errorLabel); return this.con.post(AuthenticationService.userChecking, request, onError, errorLabel);
} }

@ -35,7 +35,7 @@ export class HrRequestFormComponent implements OnInit {
public searchKeySelect = 'Complaints'; public searchKeySelect = 'Complaints';
myColor: string = 'secondary'; myColor: string = 'secondary';
public showRequestDetails = false; public showRequestDetails = false;
public proID = "CS" public proID = "HMG"
public inquiry: string; public inquiry: string;
public HR: string; public HR: string;
public complaints: string; public complaints: string;

Loading…
Cancel
Save