arco-support-request 0.0.68 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,10 +46,9 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C
46
46
  - RequesterTypeId (Required),
47
47
  - RequesterId (Required),
48
48
  - Source (Required),
49
- - Host (Required,you should pass host as Test Or Live),
50
49
  - PageType (Required,SelfService || Complaint || Request),
51
50
  - HostUrl ([Required you should pass hosturl with full location origin,the protocol(http or https), hostname(domain name or IP address) and port number of a URL]),
52
51
  - Language (Required),
53
52
  - Channel (optional),
54
- - <strong> < app-request-flow [RequesterTypeId]="here pass the RequestertypeId as string" [RequesterId]="here you have to pass the Requester Id" [Source]="pass the source here" [Host]="Test or Live" PageType="SelfService || Complaint || Request" [HostUrl]="here you have to pass the hosturl with full location origin" [Language]="pass Ar or Eng" [Channel]="pass the channel"></ app-request-flow> </strong>
53
+ - <strong> < app-request-flow [RequesterTypeId]="here pass the RequestertypeId as string" [RequesterId]="here you have to pass the Requester Id" [Source]="pass the source here" [HostUrl]="here you have to pass the hosturl with full location origin" [Language]="pass Ar or Eng" [Channel]="pass the channel"></ app-request-flow> </strong>
55
54
  ### Note: if the library doesnot give the proper output please stop the application and run the application again and check it will work fine,
@@ -2249,7 +2249,12 @@
2249
2249
  };
2250
2250
  return url;
2251
2251
  };
2252
- GlobalService.prototype.getSystemConfig = function (type) {
2252
+ GlobalService.prototype.getSystemConfig = function () {
2253
+ debugger;
2254
+ var type = "test";
2255
+ if (this.HostUrl.includes("erp.arco.sa")) {
2256
+ type = "Live";
2257
+ }
2253
2258
  this.SystemConfigs = this.getUrls();
2254
2259
  if (type == "Live") {
2255
2260
  this.SystemConfigs = this.getUrls().Live;
@@ -6123,7 +6128,7 @@
6123
6128
  this.getPageCount();
6124
6129
  this.getategoryrequestertype();
6125
6130
  }
6126
- this.globalService.getSystemConfig(this.Host);
6131
+ this.globalService.getSystemConfig();
6127
6132
  };
6128
6133
  RequestFlowComponent.prototype.toggleTheme = function (e) {
6129
6134
  if (this.globalService.CurrentLanguage == 'Eng') {