diff --git a/400-SOURCECODE/Admin/src/app/shared/global.ts b/400-SOURCECODE/Admin/src/app/shared/global.ts index 696a196..822cd14 100644 --- a/400-SOURCECODE/Admin/src/app/shared/global.ts +++ b/400-SOURCECODE/Admin/src/app/shared/global.ts @@ -88,7 +88,7 @@ export class GlobalService { if (this.resourceBaseUrl == this.ProtocolType+"localhost/API/Adminapi/") { if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); } if (this.loggedInUser.LicenseInfo == null) { this.AccLicId = 0; @@ -97,7 +97,7 @@ export class GlobalService { } else { this.AccLicId = this.loggedInUser.LicenseInfo.Id; - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber; + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); } } @@ -107,7 +107,7 @@ export class GlobalService { { this.LiveURL = this.ProtocolType+"interactiveanatomy.com"; if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); this.AccLicId = this.loggedInUser.LicenseInfo.Id; } if (this.loggedInUser.LicenseInfo == null) { @@ -117,7 +117,7 @@ export class GlobalService { } else { this.AccLicId = this.loggedInUser.LicenseInfo.Id; - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber; + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); } } @@ -127,7 +127,7 @@ export class GlobalService { { this.LiveURL = this.ProtocolType+"qa.beta.interactiveanatomy.com"; if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); this.AccLicId = this.loggedInUser.LicenseInfo.Id; } if (this.loggedInUser.LicenseInfo == null) { @@ -137,7 +137,7 @@ export class GlobalService { } else { this.AccLicId = this.loggedInUser.LicenseInfo.Id; - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber; + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();; } }