Commit b07beb8780f4065621d55543318b12e03ab15f3e

Authored by Birendra
2 parents ced296aa 7baafd42

Merge branch 'AIA_Develop' into AIABugFixes

400-SOURCECODE/Admin/src/app/shared/global.ts
... ... @@ -88,7 +88,7 @@ export class GlobalService {
88 88 if (this.resourceBaseUrl == this.ProtocolType+"localhost/API/Adminapi/") {
89 89  
90 90 if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") {
91   - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber
  91 + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();
92 92 }
93 93 if (this.loggedInUser.LicenseInfo == null) {
94 94 this.AccLicId = 0;
... ... @@ -97,7 +97,7 @@ export class GlobalService {
97 97 }
98 98 else {
99 99 this.AccLicId = this.loggedInUser.LicenseInfo.Id;
100   - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber;
  100 + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();
101 101 }
102 102  
103 103 }
... ... @@ -107,7 +107,7 @@ export class GlobalService {
107 107 {
108 108 this.LiveURL = this.ProtocolType+"interactiveanatomy.com";
109 109 if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") {
110   - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber
  110 + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();
111 111 this.AccLicId = this.loggedInUser.LicenseInfo.Id;
112 112 }
113 113 if (this.loggedInUser.LicenseInfo == null) {
... ... @@ -117,7 +117,7 @@ export class GlobalService {
117 117 }
118 118 else {
119 119 this.AccLicId = this.loggedInUser.LicenseInfo.Id;
120   - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber;
  120 + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();
121 121 }
122 122 }
123 123  
... ... @@ -127,7 +127,7 @@ export class GlobalService {
127 127 {
128 128 this.LiveURL = this.ProtocolType+"qa.beta.interactiveanatomy.com";
129 129 if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") {
130   - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber
  130 + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();
131 131 this.AccLicId = this.loggedInUser.LicenseInfo.Id;
132 132 }
133 133 if (this.loggedInUser.LicenseInfo == null) {
... ... @@ -137,7 +137,7 @@ export class GlobalService {
137 137 }
138 138 else {
139 139 this.AccLicId = this.loggedInUser.LicenseInfo.Id;
140   - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber;
  140 + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();;
141 141 }
142 142 }
143 143  
... ...