webpackJsonp([1],{"/VHJ":function(t,e){t.exports='
Do you want to delete the selected license?
\r\n\r\n {{message}}\r\n
\r\n{{message}}\r\n
\r\n\r\n {{message}}\r\n
\r\n\r\n {{message}}\r\n
\r\nAccount Number | \r\nLicensee Name | \r\nLicense Type | \r\nInstitution Name | \r\nAccount Type | \r\nEdition | \r\nStart Date | \r\nOriginal Entry Date | \r\nEnd Date | \r\nSubscription Price | \r\nCredit Card Number | \r\n
---|---|---|---|---|---|---|---|---|---|---|
\r\n | ||||||||||
{{sr.AccountNumber}} | \r\n{{sr.LicenseeName}} | \r\n{{sr.LicenseType}} | \r\n{{sr.InstitutionName}} | \r\n{{sr.AccountType}} | \r\n{{sr.Edition}} | \r\n{{sr.StartDate}} | \r\n{{sr.LicenseCreationDate}} | \r\n{{sr.EndDate}} | \r\n{{sr.SubscriptionPrice | number:\'1.2\'}} | \r\n{{sr.CardNumber}} | \r\n
Discount Code | \r\nPercentage | \r\nStart Date | \r\nEnd Date | \r\nStatus | \r\nTotal License | \r\n
---|---|---|---|---|---|
\r\n | |||||
{{item.DiscountCode}} | \r\n{{item.Percentage}}% | \r\n{{item.StartDate}} | \r\n{{item.EndDate}} | \r\n{{item.DiscountStatus}} | \r\n{{item.TotalLicenses}} | \r\n
User Name | \r\nFirst Name | \r\nLast Name | \r\nAccount Number | \r\nInstitution Name | \r\nCredit Card Number | \r\nUser Type | \r\nZip | \r\nState(only U.S.) | \r\nCountry | \r\nTotal Login | \r\nOriginal Entry Date | \r\nLast Login Date | \r\n
---|---|---|---|---|---|---|---|---|---|---|---|---|
\r\n | ||||||||||||
{{usage.LoginId}} | \r\n{{usage.FirstName}} | \r\n{{usage.LastName}} | \r\n{{usage.AccountNumber}} | \r\n{{usage.InstitutionName}} | \r\n{{usage.CardNumber}} | \r\n{{usage.UserType}} | \r\n{{usage.LicenseZip}} | \r\n{{usage.LicenseState}} | \r\n{{usage.LicenseCountry}} | \r\n{{usage.TotalLogins}} | \r\n{{usage.LicenseCreationDate}} | \r\n{{usage.LastLoginDate}} | \r\n
License Type | \r\nAccount Type | \r\nInstitution Name | \r\nOriginal Entry Date | \r\nTotal Active Subscriptions | \r\nTotal Renew Subscriptions | \r\nNo. of Cancelled Subscription | \r\nNet Ads | \r\n
---|---|---|---|---|---|---|---|
\r\n | |||||||
{{item.LicenseType}} | \r\n{{item.AccountType}} | \r\n{{item.InstitutionName}} | \r\n{{item.LicenseCreationDate}} | \r\n{{item.ActiveSubscription}} | \r\n{{item.RenewSubscription}} | \r\n{{item.InActiveSubscription}} | \r\n{{item.NetAdSubscription}} | \r\n
Account Number | \r\nLicensee Name | \r\nLicense Type | \r\nAccount Type | \r\nEdition | \r\nEmail ID | \r\nStatus | \r\nStart Date | \r\nEnd Date | \r\nPrice | \r\nZip | \r\nState(only U.S.) | \r\nCountry | \r\nInstitution Name | \r\nOriginal Entry Date | \r\nCredit Card Number | \r\n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
\r\n | |||||||||||||||
{{csr.AccountNumber}} | \r\n{{csr.LicenseeName}} | \r\n{{csr.LicenseType}} | \r\n{{csr.AccountType}} | \r\n{{csr.Edition}} | \r\n{{csr.Email}} | \r\n{{csr.LicenseStatus}} | \r\n{{csr.StartDate}} | \r\n{{csr.EndDate}} | \r\n{{csr.Price | number:\'1.2\'}} | \r\n{{csr.LicenseZip}} | \r\n{{csr.LicenseState}} | \r\n{{csr.LicenseCountry}} | \r\n{{csr.InstitutionName}} | \r\n{{csr.LicenseCreationDate}} | \r\n{{csr.CardNumber}} | \r\n
Do you want to delete the selected site account?
\r\nSite Url | \r\nSite Url To | \r\nAccount Name | \r\nInstitution Name | \r\nDepartment Name | \r\nClient Admin | \r\nClient Admin Email ID | \r\nOriginal Entry Date | \r\nLast Modified Date | \r\n
---|---|---|---|---|---|---|---|---|
\r\n {{item.Ip}}\r\n | \r\n{{item.SiteIpTo}} | \r\n{{item.Title}} | \r\n{{item.InstituteName}} | \r\n{{item.Department}} | \r\n{{item.SiteUserFirstName}} | \r\n{{item.SiteUserEmailId}} | \r\n{{item.CreationDate | date: \'MM/dd/yyyy\'}} | \r\n{{item.ModifiedDate | date: \'MM/dd/yyyy\'}} | \r\n
you want to delete the selected user group?
\r\n\t\tGroup Name | \r\n\t\t\t\t\t\t\t\t\tNumber of User(s) | \r\n\t\t\t\t\t\t\t\t\tCreated Date | \r\n\t\t\t\t\t\t\t\t\tLast Modified Date | \r\n\t\t\t\t\t\t\t\t
---|---|---|---|
\r\n\t\t\t\t\t\t\t\t\t\t {{item.Title}}\r\n\t\t\t\t\t\t\t\t\t | \r\n\t\t\t\t\t\t\t\t\t{{item.TotalUsers}} | \r\n\t\t\t\t\t\t\t\t\t{{item.CreationDate | date: \'MM/dd/yyyy\'}} | \r\n\t\t\t\t\t\t\t\t\t{{item.ModifiedDate | date: \'MM/dd/yyyy\'}} | \r\n\t\t\t\t\t\t\t\t
Select | \r\n\t\t\t\t\t\t\t\t\tFirst Name | \r\n\t\t\t\t\t\t\t\t\tLast Name | \r\n\t\t\t\t\t\t\t\t\tUser ID | \r\n\t\t\t\t\t\t\t\t\tEmail ID | \r\n\t\t\t\t\t\t\t\t\tProduct Edition | \r\n\t\t\t\t\t\t\t\t
---|---|---|---|---|---|
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t | \r\n\t\t\t\t\t\t\t\t\t{{item.FirstName}} | \r\n\t\t\t\t\t\t\t\t\t{{item.LastName}} | \r\n\t\t\t\t\t\t\t\t\t{{item.UserId}} | \r\n\t\t\t\t\t\t\t\t\t{{item.EmailId}} | \r\n\t\t\t\t\t\t\t\t\t{{item.ProductEdition}} | \r\n\t\t\t\t\t\t\t\t
Account Number | \r\nEdition | \r\nInstitution Name | \r\nOriginal Entry Date | \r\nReferel URL | \r\nTotal Login | \r\nLast Login Date | \r\n
---|---|---|---|---|---|---|
\r\n | ||||||
{{item.AccountNumber}} | \r\n{{item.EditionTitle}} | \r\n{{item.InstitutionName}} | \r\n{{item.LicenseCreationDate}} | \r\n{{item.ReferalUrl}} | \r\n{{item.TotalLogins}} | \r\n{{item.LastLogin}} | \r\n
Title | \r\nImage Name | \r\nOriginal Name | \r\nModule | \r\nExported Date | \r\nAccount Number | \r\nUser Name | \r\nExport Limit | \r\nNumber of export image | \r\n
---|---|---|---|---|---|---|---|---|
\r\n | ||||||||
{{item.Title}} | \r\n{{item.ImageName}} | \r\n{{item.OriginalFileName}} | \r\n{{item.ModuleName}} | \r\n{{item.ExportedDate}} | \r\n{{item.AccountNumber}} | \r\n{{item.UserName}} | \r\n{{item.ExportLimit}} | \r\n{{item.imageCount}} | \r\n
Account Number | \r\nLicensee Name | \r\nLicense Type | \r\nInstitution Name | \r\nAccount Type | \r\nEdition | \r\nStart Date | \r\nOriginal Entry Date | \r\nEnd Date | \r\nSubscription Price | \r\nCredit Card Number | \r\n
---|---|---|---|---|---|---|---|---|---|---|
\r\n | ||||||||||
{{sr.AccountNumber}} | \r\n{{sr.LicenseeName}} | \r\n{{sr.LicenseType}} | \r\n{{sr.InstitutionName}} | \r\n{{sr.AccountType}} | \r\n{{sr.Edition}} | \r\n{{sr.StartDate}} | \r\n{{sr.LicenseCreationDate}} | \r\n{{sr.EndDate}} | \r\n{{sr.SubscriptionPrice | number:\'1.2\'}} | \r\n{{sr.CardNumber}} | \r\n
Account Number | \r\nLicensee Name | \r\nLicense Type | \r\nInstitution Name | \r\nAccount Type | \r\n \x3c!--Edition | --\x3e\r\nStart Date | \r\nEnd Date | \r\nOriginal Entry Date | \r\nSubscription Price | \r\nTime Period | \r\nCredit Card Number | \r\n
---|---|---|---|---|---|---|---|---|---|---|---|
\r\n | |||||||||||
{{esr.AccountNumber}} | \r\n{{esr.LicenseeName}} | \r\n{{esr.LicenseType}} | \r\n{{esr.InstitutionName}} | \r\n{{esr.AccountType}} | \r\n \x3c!--{{esr.}} | --\x3e\r\n{{esr.SubscriptionValidFrom}} | \r\n{{esr.SubscriptionValidThrough}} | \r\n{{esr.CreationDate}} | \r\n{{esr.TotalAmount}} | \r\n{{esr.DaysRemaining}} | \r\n{{esr.CardNumber}} | \r\n
Discount code saved successfully
",this.modalRef=this.modalService.show(e))},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this._confirmService.activate("Discount code update unsuccessfull.","alertMsg"):this._confirmService.activate("Discount code updated successfully.","alertMsg")},t.prototype.BindFormFields=function(t){var e=this;this.discountCodes=t,0==this.discountCodes.length&&(this.NoRecord=this.global.NoRecords),this.discountCode=this.discountCodes[0],this.manageDiscountCodeFrm.setControl("discountCodes",this.fb.array(this.discountCodes)),this.selectedRow>-1&&(this.selectedRow=this.discountCodes.findIndex(function(t){return t.Id==e.selectedId}),this.SetClickedRow(this.selectedRow,this.discountCodes[this.selectedRow]))},t.prototype.AddDiscountCode=function(){this.Mode="Add",this.topPos="100px",this.divClass="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3",this.insertUpdateDiscountCodeFrm.reset(),this.alerts="",this.insertUpdateDiscountCodeFrm.controls.discountId.setValue(0),this.insertUpdateDiscountCodeFrm.controls.discountCode.setValue(""),this.insertUpdateDiscountCodeFrm.controls.startDate.setValue(""),this.insertUpdateDiscountCodeFrm.controls.endDate.setValue(""),this.insertUpdateDiscountCodeFrm.controls.percentage.setValue(""),this.insertUpdateDiscountCodeFrm.controls.isActive.setValue("true")},t.prototype.EditDiscountCode=function(){this.Mode="Edit",this.topPos="100px",this.divClass="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3",this.alerts="",this.insertUpdateDiscountCodeFrm.controls.discountId.setValue(this.discountCode.Id),this.insertUpdateDiscountCodeFrm.controls.discountCode.setValue(this.discountCode.DiscountCode),this.insertUpdateDiscountCodeFrm.controls.startDate.setValue(this.datePipe.transform(this.discountCode.StartDate,"MM/dd/yyyy")),this.insertUpdateDiscountCodeFrm.controls.endDate.setValue(this.datePipe.transform(this.discountCode.EndDate,"MM/dd/yyyy")),this.insertUpdateDiscountCodeFrm.controls.percentage.setValue(this.discountCode.Percentage),this.discountCode.IsActive?this.insertUpdateDiscountCodeFrm.controls.isActive.setValue("true"):this.insertUpdateDiscountCodeFrm.controls.isActive.setValue("false")},t.prototype.CancelAddEdit=function(){this.Mode="Manage",this.topPos="2000px",this.divClass="col-sm-12",this.SearchDiscountCodes()},t.prototype.SearchRecords=function(){this.selectedRow=-1,this.SearchDiscountCodes()},t.prototype.ngAfterViewChecked=function(){$("#tblDiscountCodes thead").css("width",$("#tblDiscountCodes tbody tr:eq(0)").width())},t}();Jt=$t([Object(n.Component)({template:r("2Azi")}),Qt("design:paramtypes",["function"==typeof(Kt=void 0!==Ht&&Ht)&&Kt||Object,"function"==typeof(Yt=void 0!==w.b&&w.b)&&Yt||Object,"function"==typeof(Wt=void 0!==N&&N)&&Wt||Object,"function"==typeof(Xt=void 0!==s.a&&s.a)&&Xt||Object,"function"==typeof(te=void 0!==f&&f)&&te||Object,"function"==typeof(ee=void 0!==Ft.a&&Ft.a)&&ee||Object])],Jt);var Kt,Yt,Wt,Xt,te,ee,re=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},ne=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},ie=function(){function t(t,e){this.http=t,this.commonService=e}return t.prototype.GetSubscriptionPrices=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/SubscriptionPrice/GetSubscriptionPrices?editionId="+t.editionId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.InsertSubscriptionPrice=function(t){var e=this,r={id:t.subscriptionPriceId,title:t.title,price:t.price,duration:t.duration,editionId:t.editionId,isActive:t.isActive};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/SubscriptionPrice/InsertSubscriptionPrice",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateSubscriptionPrices=function(t){var e=this,r={obj:t};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/SubscriptionPrice/UpdateSubscriptionPrices",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.DeleteSubscriptionPrices=function(t){var e=this,r=t;console.log(r);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/SubscriptionPrice/DeleteSubscriptionPrices",r,{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.extractData=function(t){return t.json()},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),u.Observable.throw(e)},t}();ie=re([Object(n.Injectable)(),ne("design:paramtypes",["function"==typeof(se=void 0!==c.b&&c.b)&&se||Object,"function"==typeof(oe=void 0!==f&&f)&&oe||Object])],ie);var se,oe,ae=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},le=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},ce=function(){function t(t,e,r,n,i){this.subscriptionPriceService=t,this.router=e,this._confirmService=r,this.fb=n,this.modalService=i,this.Mode="Search",this.topPos="2000px",this.datePipe=new l.DatePipe("en-US"),this.selectedEditionId=1,this.divClass=""}return t.prototype.ngOnInit=function(){this.divClass="col-sm-12",this.subscriptionPrice=new C,this.alerts="",this.subscriptionPriceFrm=this.fb.group({subscriptionPrices:this.fb.array([])}),this.insertSubscriptionPriceFrm=this.fb.group({subscriptionPriceId:[""],title:["",s.f.required],price:["",[s.f.required,s.f.pattern("[0-9.]*")]],duration:["",[s.f.required,s.f.pattern("[0-9]*")]],editionId:[""],isActive:["false"]}),this.SearchSubscriptionPrices(this.selectedEditionId),$("#fixed_hdr2").fxdHdrCol({fixedCols:0,width:"80%",height:300,colModal:[{width:180,align:"center"},{width:230,align:"center"},{width:150,align:"Center"},{width:150,align:"Center"},{width:350,align:"Center"},{width:200,align:"Center"},{width:130,align:"Center"},{width:120,align:"center"},{width:280,align:"Center"},{width:180,align:"center"},{width:200,align:"center"},{width:170,align:"center"},{width:80,align:"center"},{width:150,align:"center"},{width:150,align:"center"},{width:180,align:"Center"},{width:400,align:"Center"},{width:150,align:"center"},{width:110,align:"center"}],sort:!0}),document.getElementById("fixed_table_rc").remove();var t=document.createElement("script");t.setAttribute("id","fixed_table_rc"),t.setAttribute("src","../assets/scripts/fixed_table_rc.js"),t.setAttribute("type","text/javascript"),document.body.appendChild(t)},t.prototype.SearchSubscriptionPrices=function(t){var e=this;this.selectedEditionId=t,this.subscriptionPriceService.GetSubscriptionPrices({editionId:this.selectedEditionId}).subscribe(function(t){e.BindFormFields(t)},function(t){return e.error=t})},t.prototype.openModal=function(t){0!=this.checkedRecords.filter(function(t){return t>0}).length&&(this.modalRef=this.modalService.show(t))},t.prototype.onChange=function(t,e,r){this.checkedRecords[t]=r?e:0},t.prototype.AfterDeleteData=function(t,e){"false"==t.Status?this._confirmService.activate("Subscription prices delete unsuccessfull","alertMsg"):(this.modalAlerts="Subscription prices deleted successfully
",this.modalRef=this.modalService.show(e),this.SearchSubscriptionPrices(this.selectedEditionId))},t.prototype.AfterInsertData=function(t,e){"false"==t.Status?this._confirmService.activate("Subscription prices insert unsuccessfull","alertMsg"):(this.modalAlerts="Subscription price saved successfully
",this.CancelAdd(),this.modalRef=this.modalService.show(e))},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this._confirmService.activate("Subscription prices update unsuccessfull","alertMsg"):(this.modalAlerts="Subscription prices updated successfully
",this.modalRef=this.modalService.show(e))},t.prototype.BindFormFields=function(t){this.subscriptionPrices=t,this.checkedRecords=new Array(this.subscriptionPrices.length),this.subscriptionPriceFrm.setControl("subscriptionPrices",this.fb.array(this.subscriptionPrices))},t.prototype.UpdateSubscriptionPrices=function(t){var e=this;if(console.log(this.subscriptionPriceFrm.value),this.alerts="",""==this.alerts){var r=this.subscriptionPriceFrm.controls.subscriptionPrices.value;this.subscriptionPriceService.UpdateSubscriptionPrices(r).subscribe(function(r){return e.AfterUpdateData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.InsertSubscriptionPrice=function(t){var e=this;if(console.log(this.insertSubscriptionPriceFrm.value),this.alerts="",""==this.alerts){var r=this.insertSubscriptionPriceFrm.value;return this.subscriptionPriceService.InsertSubscriptionPrice(r).subscribe(function(r){return e.AfterInsertData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.DeleteSubscriptionPrices=function(t){var e=this;if(this.modalRef.hide(),console.log(this.checkedRecords),this.alerts="",""==this.alerts){var r=this.checkedRecords.filter(function(t){return t>0});return this.subscriptionPriceService.DeleteSubscriptionPrices(r).subscribe(function(r){return e.AfterDeleteData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.AddSubscriptionPrice=function(){this.Mode="Add",this.topPos="100px",this.divClass="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3",this.insertSubscriptionPriceFrm.reset(),this.alerts="",this.insertSubscriptionPriceFrm.controls.subscriptionPriceId.setValue(0),this.insertSubscriptionPriceFrm.controls.title.setValue(""),this.insertSubscriptionPriceFrm.controls.price.setValue(""),this.insertSubscriptionPriceFrm.controls.duration.setValue(""),this.insertSubscriptionPriceFrm.controls.editionId.setValue(this.selectedEditionId),this.insertSubscriptionPriceFrm.controls.isActive.setValue("false")},t.prototype.CancelAdd=function(){this.Mode="Search",this.topPos="2000px",this.divClass="col-sm-12",this.insertSubscriptionPriceFrm.reset(),this.alerts="",this.SearchSubscriptionPrices(this.selectedEditionId)},t.prototype.redirect=function(){this.router.navigate(["/"])},t}();ce=ae([Object(n.Component)({template:r("wLgm")}),le("design:paramtypes",["function"==typeof(de=void 0!==ie&&ie)&&de||Object,"function"==typeof(pe=void 0!==w.b&&w.b)&&pe||Object,"function"==typeof(ue=void 0!==N&&N)&&ue||Object,"function"==typeof(me=void 0!==s.a&&s.a)&&me||Object,"function"==typeof(he=void 0!==Ft.a&&Ft.a)&&he||Object])],ce);var de,pe,ue,me,he,fe=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},ve=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},ge=function(){function t(t,e){this.http=t,this.commonService=e,this.datePipe=new l.DatePipe("en-US")}return t.prototype.GetLicenses=function(t,e,r){var n=this;return""==t.subscriptionStartDate&&(t.subscriptionStartDate="1/1/1"),""==t.subscriptionEndDate&&(t.subscriptionEndDate="1/1/9999"),t.subscriptionStartDate=this.datePipe.transform(t.subscriptionStartDate,"MM/dd/yyyy"),t.subscriptionEndDate=this.datePipe.transform(t.subscriptionEndDate,"MM/dd/yyyy"),this.http.get(this.commonService.resourceBaseUrl+"/License/Licenses?accountNumber="+t.accountNumber+"&licenseeFirstName="+t.licenseeFirstName+"&licenseeLastName="+t.licenseeLastName+"&licenseTypeId="+t.licenseTypeId+"&institutionName="+t.institutionName+"&stateId="+t.stateId+"&countryId="+t.countryId+"&emailId="+t.emailId+"&subscriptionStartDate="+t.subscriptionStartDate+"&subscriptionEndDate="+t.subscriptionEndDate+"&isActive="+t.isActive+"&pageNo="+e+"&pageLength="+r).map(this.extractData).catch(function(t){return n.handleError(t)})},t.prototype.GetLicenseById=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/GetLicense?LicenseId="+t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetLicenceType=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/LicenseTypes").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetAccountType=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"/Account/AccountTypes").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetCountry=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"/Common/Countries").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetState=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"/Common/States").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetSecurityQuestions=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"/Common/SecurityQuestions").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetEditions=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"/Edition/Editions").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetLicenseAccounts=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/LicenseAccounts?LicenseType="+t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetSiteById=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/Site/SiteDetail?SiteId="+t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetSiteAccountEditions=function(t,e){var r=this;return this.http.get(this.commonService.resourceBaseUrl+"/Site/SiteAccountEditions?SiteId="+t+"&LicenseId="+e).map(this.extractData).catch(function(t){return r.handleError(t)})},t.prototype.GetLicenseSites=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/LicenseSites?AccountNo="+t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetLicenseModestySettings=function(t,e){var r=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/LicenseModestySettings?LicenseId="+t+"&BuildingLevelId="+e).map(this.extractData).catch(function(t){return r.handleError(t)})},t.prototype.GetLicenseModulesStatus=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/LicenseModulesStatus?LicenseId="+t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.InsertLicense=function(t){var e=this,r={licenseId:t.licenseId,accountNumber:t.accountNumber,licenseeFirstName:t.licenseeFirstName,licenseeLastName:t.licenseeLastName,licenseTypeId:t.licenseTypeId,accountTypeId:t.accountTypeId,institutionName:t.institutionName,address1:t.address1,address2:t.address2,city:t.city,zip:t.zip,stateId:t.stateId,countryId:t.countryId,phone:t.phone,email:t.emailId,totalLogins:t.totalLogins,editionLogins:t.editionLogins,price:t.subscriptionPrice,productKey:t.productId,masterSiteUrl:t.masterSiteUrl,siteFromUrl:t.siteUrlFrom,siteToUrl:t.siteUrlTo,noOfImages:t.noOfImages,loginId:t.login,password:t.password,subscriptionStartDate:t.subscriptionStartDate,subscriptionEndDate:t.subscriptionEndDate,securityQuestionId:t.securityQuestionId,answer:t.answer,testLicenseEditionId:t.testLicenseEditionId,creatorId:t.creatorId,isActive:t.isActive},n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/License/InsertLicense",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateLicense=function(t){var e=this;void 0==t.renewDate&&(t.renewDate="1/1/1");var r={licenseId:t.licenseId,accountNumber:t.accountNumber,licenseeFirstName:t.licenseeFirstName,licenseeLastName:t.licenseeLastName,licenseTypeId:t.licenseTypeId,accountTypeId:t.accountTypeId,institutionName:t.institutionName,address1:t.address1,address2:t.address2,city:t.city,zip:t.zip,stateId:t.stateId,countryId:t.countryId,phone:t.phone,email:t.emailId,totalLogins:t.totalLogins,editionLogins:t.editionLogins,price:t.subscriptionPrice,productKey:t.productId,masterSiteUrl:t.masterSiteUrl,siteUrlFrom:t.siteUrlFrom,siteUrlTo:t.siteUrlTo,noOfImages:t.noOfImages,loginId:t.login,password:t.password,subscriptionStartDate:t.subscriptionStartDate.toLocaleString(),subscriptionEndDate:t.subscriptionEndDate.toLocaleString(),renewDate:t.renewDate,securityQuestionId:t.securityQuestionId,answer:t.answer,testLicenseEditionId:t.testLicenseEditionId,creatorId:t.creatorId,renew:t.renew,isActive:t.isActive},n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/License/UpdateLicense",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateLicenseBasicSettings=function(t){var e=this,r={licenseId:t.licenseId,accountNumber:t.accountNumber,licenseeFirstName:t.licenseeFirstName,licenseeLastName:t.licenseeLastName,institutionName:t.institutionName,address1:t.address1,address2:t.address2,city:t.city,zip:t.zip,stateId:t.stateId,countryId:t.countryId,phone:t.phone,email:t.emailId},n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/License/UpdateLicenseBasicSettings",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateLicenseModestySettings=function(t){var e=this,r=[];t.lstModesty.forEach(function(e){r.push({siteId:t.siteId,licenseEditionId:e.m_Item1,isModesty:e.m_Item2})});var n={obj:r},i=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/License/UpdateLicenseModestySettings",JSON.stringify(n),{headers:i}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateLicenseModulesStatus=function(t){var e=this,r=[];t.lstModuleStatus.forEach(function(e){r.push({licenseId:t.licenseId,moduleId:e.m_Item1,status:e.m_Item2})});var n={obj:r},i=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/License/UpdateLicenseModulesStatus",JSON.stringify(n),{headers:i}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.DeleteLicense=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/License/DeleteLicense?LicenseId="+t.LicenseId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.InsertUpdateSiteAccount=function(t){var e=this,r="";t.editionLoginArr.forEach(function(t){1==t.Login&&(r+=t.Id+",")}),""!=r&&(r=r.substr(0,r.length-1)),0==t.siteId?(t.creationDate=new Date,t.modifiedDate=new Date):t.modifiedDate=new Date;var n={licenseId:t.licenseId,siteId:t.siteId,title:t.buildAccName,siteUrl:t.siteUrl,siteUrlTo:t.siteUrlTo,siteMasterUrlTo:t.siteMasterUrlTo,institutionName:t.institutionName,departmentName:t.departmentName,address1:t.address1,address2:t.address2,city:t.city,phone:t.phone,zip:t.zip,countryId:t.countryId,stateId:t.stateId,userId:t.clientAdminId,isActive:t.isActive,isMaster:t.isMaster,creationDate:t.creationDate,modifiedDate:t.modifiedDate,siteEditionIds:r},i=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"/Site/InsertUpdateSiteAccount",JSON.stringify(n),{headers:i}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.DeleteSiteAccount=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"/Site/DeleteSiteAccount?SiteId="+t.Id+"&LicenseId="+t.LicenseId+"&UserId="+t.SiteUserId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.extractData=function(t){return t.json()},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?""+t._body:"Server error";return console.error(e),u.Observable.throw(e)},t}();ge=fe([Object(n.Injectable)(),ve("design:paramtypes",["function"==typeof(be=void 0!==c.b&&c.b)&&be||Object,"function"==typeof(ye=void 0!==f&&f)&&ye||Object])],ge);var be,ye,xe=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},Se=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},we=function(){function t(t,e,r,n,i){this.licenseService=t,this.router=e,this.activeRoute=r,this.fb=n,this.modalService=i,this.mode="Search",this.divClass="",this.topPos="2000px",this.selectedRow=0,this.datePipe=new l.DatePipe("en-US"),this.bsValue1=new Date,this.bsValue2=new Date,this.selectedId=0,this.minDate=new Date(1110,11,1),this.maxDate=new Date(9999,11,31)}return t.prototype.ngOnInit=function(){var t=this;this.bsConfig=Object.assign({},{containerClass:"theme-dark-blue"}),this.divClass="col-sm-12",this.license=new U,this.alerts="",this.searchLicenseFrm=this.fb.group({accountNumber:[""],licenseeFirstName:[""],licenseeLastName:[""],licenseTypeId:[0],institutionName:[""],stateId:[0],countryId:[0],emailId:[""],subscriptionStartDate:[""],subscriptionEndDate:[""],isActive:[!0],licenses:this.fb.array([])}),this.GetLicenseType(),this.GetCountry(),this.GetState(),this.activeRoute.queryParams.subscribe(function(e){null!=e.Id?(t.searchLicenseFrm.controls.accountNumber.setValue(e.accountNumber),t.searchLicenseFrm.controls.licenseeFirstName.setValue(e.licenseeFirstName),t.searchLicenseFrm.controls.licenseeLastName.setValue(e.licenseeLastName),t.searchLicenseFrm.controls.licenseTypeId.setValue(+e.licenseTypeId),t.searchLicenseFrm.controls.institutionName.setValue(e.institutionName),t.searchLicenseFrm.controls.stateId.setValue(+e.stateId),t.searchLicenseFrm.controls.countryId.setValue(+e.countryId),t.searchLicenseFrm.controls.subscriptionStartDate.setValue(e.subscriptionStartDate),t.searchLicenseFrm.controls.subscriptionEndDate.setValue(e.subscriptionEndDate),t.searchLicenseFrm.controls.isActive.setValue(e.isActive),t.selectedId=+e.Id,t.selectedRow=+e.row,t.pageNo=e.pageNo,t.pageLength=e.pageLength,t.returnFrom=!0):(t.selectedRow=-1,t.selectedId=-1,t.pageNo=1,t.pageLength=10,t.returnFrom=!1)}),this.recordCount=0,this.pagerComponent=new at,$("#fixed_hdr2").fxdHdrCol({fixedCols:0,width:"100%",height:300,colModal:[{width:150,align:"center"},{width:150,align:"center"},{width:150,align:"Center"},{width:150,align:"Center"},{width:150,align:"Center"},{width:150,align:"Center"},{width:150,align:"Center"},{width:150,align:"center"},{width:150,align:"Center"},{width:200,align:"center"},{width:200,align:"center"},{width:200,align:"center"},{width:150,align:"center"},{width:200,align:"center"},{width:200,align:"center"},{width:200,align:"Center"},{width:150,align:"Center"},{width:150,align:"center"},{width:150,align:"center"}],sort:!0}),document.getElementById("fixed_table_rc").remove();var e=document.createElement("script");e.setAttribute("id","fixed_table_rc"),e.setAttribute("src","../assets/scripts/fixed_table_rc.js"),e.setAttribute("type","text/javascript"),document.body.appendChild(e)},t.prototype.ngAfterViewChecked=function(){$("#fixed_hdr2 thead").css("width",$("#fixed_hdr2 tbody tr:eq(0)").width())},t.prototype.openModal=function(t){this.modalRef=this.modalService.show(t)},t.prototype.SetClickedRow=function(t,e){this.selectedRow=t,this.selectedId=e.LicenseId,this.license=e},t.prototype.BindFormFields=function(t){var e=this;this.recordCount=t.RecordCount,this.licenses=t.LicenseList,this.license=this.licenses[0],this.license=this.searchLicenseFrm.controls.licenses.value.filter(function(t){return t.Id==e.selectedId}),this.searchLicenseFrm.setControl("licenses",this.fb.array(this.licenses))},t.prototype.SearchLicenses=function(t){var e=this;this.returnFrom||(this.selectedRow=-1,this.selectedId=-1),this.returnFrom&&(this.returnFrom=!1);var r=t.split(",");this.pageNo=parseInt(r[0]),this.pageLength=parseInt(r[1]),this.licenseService.GetLicenses(this.searchLicenseFrm.value,this.pageNo,this.pageLength).subscribe(function(t){e.BindFormFields(t)},function(t){return e.error=t})},t.prototype.SearchRecords=function(){this.SearchLicenses("1, "+this.pageLength)},t.prototype.GetLicenseType=function(){var t=this;this.licenseService.GetLicenceType().subscribe(function(e){t.lstLicenceType=e},function(e){return t.error=e})},t.prototype.GetCountry=function(){var t=this;this.licenseService.GetCountry().subscribe(function(e){t.lstCountry=e},function(e){return t.error=e})},t.prototype.GetState=function(){var t=this;this.licenseService.GetState().subscribe(function(e){t.lstState=e},function(e){return t.error=e})},t.prototype.EditLicense=function(){this.router.navigate(["/editlicense"],{queryParams:{accountNumber:this.searchLicenseFrm.controls.accountNumber.value,licenseeFirstName:this.searchLicenseFrm.controls.licenseeFirstName.value,licenseeLastName:this.searchLicenseFrm.controls.licenseeLastName.value,licenseTypeId:this.searchLicenseFrm.controls.licenseTypeId.value,institutionName:this.searchLicenseFrm.controls.institutionName.value,stateId:this.searchLicenseFrm.controls.stateId.value,countryId:this.searchLicenseFrm.controls.countryId.value,subscriptionStartDate:this.searchLicenseFrm.controls.subscriptionStartDate.value,subscriptionEndDate:this.searchLicenseFrm.controls.subscriptionEndDate.value,isActive:this.searchLicenseFrm.controls.isActive.value,Id:this.selectedId,row:this.selectedRow,pageNo:this.pageNo,pageLength:this.pageLength},skipLocationChange:!0})},t.prototype.AfterDeleteData=function(t,e){"false"==t.Status?this.alerts="License delete unsuccessfull":(this.modalAlerts="License deleted successfully
",this.modalRef=this.modalService.show(e),this.SearchLicenses("1,"+this.pagerComponent.pageLength))},t.prototype.DeleteLicense=function(t){var e=this;if(this.modalRef.hide(),this.alerts="",""==this.alerts){var r=this.license;return this.licenseService.DeleteLicense(r).subscribe(function(r){return e.AfterDeleteData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t}();xe([Object(n.ViewChild)(at),Se("design:type","function"==typeof(Le=void 0!==at&&at)&&Le||Object)],we.prototype,"pagerComponent",void 0),we=xe([Object(n.Component)({template:r("/VHJ")}),Se("design:paramtypes",["function"==typeof(Ie=void 0!==ge&&ge)&&Ie||Object,"function"==typeof(Ce=void 0!==w.b&&w.b)&&Ce||Object,"function"==typeof(Ue=void 0!==w.a&&w.a)&&Ue||Object,"function"==typeof(De=void 0!==s.a&&s.a)&&De||Object,"function"==typeof(Ne=void 0!==Ft.a&&Ft.a)&&Ne||Object])],we);var Le,Ie,Ce,Ue,De,Ne,Te=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},Fe=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Ee=function(){function t(t,e,r,n,i,s){this.licenseService=t,this.globalService=e,this.router=r,this.activeRoute=n,this.fb=i,this.modalService=s,this.totalLogins=0,this.divClass="",this.topPos="2000px",this.datePipe=new l.DatePipe("en-US"),this.bsValue1=new Date,this.bsValue2=new Date,this.bsValue3=new Date,this.rowIndex=0,this.minDate=new Date(1110,11,1),this.maxDate=new Date(9999,11,31)}return t.prototype.ngOnInit=function(){var t=this;this.bsConfig=Object.assign({},{containerClass:"theme-dark-blue"}),this.divClass="col-sm-12",this.license=new U,this.alerts="",this.insertUpdateLicenseFrm=this.fb.group({licenseId:[0],accountNumber:["",s.f.required],accountTypeId:[0],productId:[""],licenseeFirstName:["",s.f.required],licenseeLastName:["",s.f.required],licenseTypeId:[1],institutionName:["",s.f.required],address1:["",s.f.required],address2:[""],city:["",s.f.required],stateId:[0],countryId:[0],zip:["",s.f.required],emailId:["",[s.f.email,s.f.required]],phone:["",[s.f.required,s.f.pattern("^([0-9]{3})-([0-9]{3})-([0-9]{4})$")]],editionLoginArr:this.fb.array([]),editionLogins:[""],totalLogins:[0],subscriptionPrice:["",[s.f.required,s.f.pattern("[0-9.]*")]],subscriptionStartDate:["",s.f.required],subscriptionEndDate:["",s.f.required],noOfImages:[0,[s.f.required,s.f.pattern("[0-9]*")]],masterSiteUrl:["a",s.f.required],siteUrlFrom:[""],siteUrlTo:[""],login:["a",[s.f.required,s.f.minLength(8)]],password:["a",[s.f.required,s.f.minLength(8)]],securityQuestionId:[1],answer:["a",s.f.required],testLicenseEditionId:[1],creatorId:[this.globalService.loggedInUser.Id],renew:[!1],renewDate:[""],totalRenewals:[0],isActive:["false"]}),this.GetLicenseType(),this.GetCountry(),this.GetState(),this.GeAccountType(),this.GeEditions(),this.GeSecurityQuestions(),this.license.LicenseId=0,this.license.LoginId="abcdefgh",this.license.Password="abcdefgh",this.license.SecurityQuestionId=1,this.license.Answer="a",this.activeRoute.queryParams.subscribe(function(e){null!=e.Id&&(t.ParamsObj=e,t.license.LicenseId=+e.Id,t.rowIndex=+e.row,t.GetLicenseById())})},t.prototype.openModal=function(t){this.modalRef=this.modalService.show(t)},t.prototype.onChange=function(t,e){3==this.license.LicenseTypeId&&(t.Login=e?1:0,this.OnLoginBlur())},t.prototype.GetLicenseType=function(){var t=this;this.licenseService.GetLicenceType().subscribe(function(e){t.lstLicenceType=e},function(e){return t.error=e})},t.prototype.GeAccountType=function(){var t=this;this.licenseService.GetAccountType().subscribe(function(e){t.lstAccountType=e},function(e){return t.error=e})},t.prototype.GeEditions=function(){var t=this;this.licenseService.GetEditions().subscribe(function(e){t.lstEdition=e,t.lstEditionLogins=new Array,t.lstEdition.forEach(function(e){t.lstEditionLogins.push({Id:e.Id,Title:e.Title,Login:0})}),t.insertUpdateLicenseFrm.setControl("editionLoginArr",t.fb.array(t.lstEditionLogins))},function(e){return t.error=e})},t.prototype.GeSecurityQuestions=function(){var t=this;this.licenseService.GetSecurityQuestions().subscribe(function(e){t.lstSecurityQuestion=e},function(e){return t.error=e})},t.prototype.GetCountry=function(){var t=this;this.licenseService.GetCountry().subscribe(function(e){t.lstCountry=e},function(e){return t.error=e})},t.prototype.GetState=function(){var t=this;this.licenseService.GetState().subscribe(function(e){t.lstState=e},function(e){return t.error=e})},t.prototype.GetLicenseById=function(){var t=this;0!=this.license.LicenseId&&this.licenseService.GetLicenseById(this.license.LicenseId).subscribe(function(e){if(t.license=e,t.license.LicenseId>0&&(t.license.LoginId="abcdefgh",t.license.Password="abcdefgh",t.license.SecurityQuestionId=1,t.license.Answer="a"),null==t.license.ProductKey&&(t.license.ProductKey=""),3!=t.license.LicenseTypeId&&(t.license.MasterSiteUrl="a"),null==t.license.SiteUrlFrom&&(t.license.SiteUrlFrom=""),null==t.license.SiteUrlTo&&(t.license.SiteUrlTo=""),t.LicenseTypeChanged(t.license.LicenseTypeId),t.insertUpdateLicenseFrm.controls.licenseId.setValue(t.license.LicenseId),t.insertUpdateLicenseFrm.controls.licenseTypeId.setValue(t.license.LicenseTypeId),t.insertUpdateLicenseFrm.controls.accountNumber.setValue(t.license.AccountNumber),t.insertUpdateLicenseFrm.controls.accountTypeId.setValue(t.license.AccountTypeId),t.insertUpdateLicenseFrm.controls.productId.setValue(t.license.ProductKey),t.insertUpdateLicenseFrm.controls.licenseeFirstName.setValue(t.license.LicenseeFirstName),t.insertUpdateLicenseFrm.controls.licenseeLastName.setValue(t.license.LicenseeLastName),t.insertUpdateLicenseFrm.controls.institutionName.setValue(t.license.InstitutionName),t.insertUpdateLicenseFrm.controls.address1.setValue(t.license.Address1),t.insertUpdateLicenseFrm.controls.address2.setValue(t.license.Address2),t.insertUpdateLicenseFrm.controls.city.setValue(t.license.City),t.insertUpdateLicenseFrm.controls.stateId.setValue(t.license.StateId),t.insertUpdateLicenseFrm.controls.countryId.setValue(t.license.CountryId),t.insertUpdateLicenseFrm.controls.zip.setValue(t.license.Zip),t.insertUpdateLicenseFrm.controls.emailId.setValue(t.license.EmailId),t.insertUpdateLicenseFrm.controls.phone.setValue(t.license.Phone),t.insertUpdateLicenseFrm.controls.editionLogins.setValue(t.license.EditionLogins),t.insertUpdateLicenseFrm.controls.totalLogins.setValue(t.license.TotalLogins),t.insertUpdateLicenseFrm.controls.subscriptionPrice.setValue(t.license.Price),t.insertUpdateLicenseFrm.controls.subscriptionStartDate.setValue(t.datePipe.transform(t.license.SubscriptionStartDate,"MM/dd/yyyy")),t.insertUpdateLicenseFrm.controls.subscriptionEndDate.setValue(t.datePipe.transform(t.license.SubscriptionEndDate,"MM/dd/yyyy")),t.insertUpdateLicenseFrm.controls.renewDate.setValue(t.datePipe.transform(t.license.Renewdate,"MM/dd/yyyy")),t.insertUpdateLicenseFrm.controls.noOfImages.setValue(t.license.NoOfImages),t.insertUpdateLicenseFrm.controls.masterSiteUrl.setValue(t.license.MasterSiteUrl),t.insertUpdateLicenseFrm.controls.siteUrlFrom.setValue(t.license.SiteUrlFrom),t.insertUpdateLicenseFrm.controls.siteUrlTo.setValue(t.license.SiteUrlTo),t.insertUpdateLicenseFrm.controls.login.setValue(t.license.LoginId),t.insertUpdateLicenseFrm.controls.password.setValue(t.license.Password),t.insertUpdateLicenseFrm.controls.securityQuestionId.setValue(t.license.SecurityQuestionId),t.insertUpdateLicenseFrm.controls.answer.setValue(t.license.Answer),t.insertUpdateLicenseFrm.controls.totalRenewals.setValue(t.license.TotalRenewals),t.insertUpdateLicenseFrm.controls.renew.setValue(!1),t.license.IsActive?t.insertUpdateLicenseFrm.controls.isActive.setValue("true"):t.insertUpdateLicenseFrm.controls.isActive.setValue("false"),null!=t.license.EditionLogins){var r=t.license.EditionLogins.split("|");t.lstEditionLogins=new Array,t.lstEdition.forEach(function(e){if(4==t.license.LicenseTypeId){if(1==e.Id||3==e.Id){var n=!1;r.forEach(function(r){var i=r.split("-");i[0]==e.Id&&(t.lstEditionLogins.push({Id:e.Id,Title:e.Title,Login:parseInt(i[1])}),n=!0)}),n||t.lstEditionLogins.push({Id:e.Id,Title:e.Title,Login:0})}}else{var n=!1;r.forEach(function(r){var i=r.split("-");i[0]==e.Id&&(t.lstEditionLogins.push({Id:e.Id,Title:e.Title,Login:parseInt(i[1])}),n=!0)}),n||t.lstEditionLogins.push({Id:e.Id,Title:e.Title,Login:0})}}),t.insertUpdateLicenseFrm.setControl("editionLoginArr",t.fb.array(t.lstEditionLogins))}},function(e){return t.error=e})},t.prototype.AfterInsertData=function(t,e){"false"==t.Status?this.alerts="License save unsuccessfull":(this.modalAlerts="License saved successfully
",this.modalRef=this.modalService.show(e))},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this.alerts="License update unsuccessfull":(this.modalAlerts="License updated successfully
",this.modalRef=this.modalService.show(e))},t.prototype.OnLoginBlur=function(){var t=this;this.totalLogins=0,this.insertUpdateLicenseFrm.controls.editionLoginArr.value.forEach(function(e){isNaN(parseInt(e.Login))||(t.totalLogins+=parseInt(e.Login))}),this.insertUpdateLicenseFrm.controls.totalLogins.setValue(this.totalLogins),this.license.TotalLogins=this.totalLogins},t.prototype.LicenseTypeChanged=function(t){var e=this;5==t&&(this.insertUpdateLicenseFrm.controls.noOfImages.setValue(0),this.insertUpdateLicenseFrm.controls.securityQuestionId.setValue(1),this.insertUpdateLicenseFrm.controls.answer.setValue("a")),3==t?this.insertUpdateLicenseFrm.controls.masterSiteUrl.setValue(""):this.insertUpdateLicenseFrm.controls.masterSiteUrl.setValue("a"),2==t?(this.insertUpdateLicenseFrm.controls.login.setValue(""),this.insertUpdateLicenseFrm.controls.password.setValue(""),this.insertUpdateLicenseFrm.controls.securityQuestionId.setValue(0),this.insertUpdateLicenseFrm.controls.answer.setValue("")):(this.insertUpdateLicenseFrm.controls.login.setValue("abcdefgh"),this.insertUpdateLicenseFrm.controls.password.setValue("abcdefgh"),this.insertUpdateLicenseFrm.controls.securityQuestionId.setValue(1),this.insertUpdateLicenseFrm.controls.answer.setValue("a")),this.lstEditionLogins=new Array,4==t?(this.insertUpdateLicenseFrm.controls.accountNumber.setValue("a"),this.lstEdition.forEach(function(t){1!=t.Id&&3!=t.Id||e.lstEditionLogins.push({Id:t.Id,Title:t.Title,Login:0})})):(this.insertUpdateLicenseFrm.controls.accountNumber.setValue(""),this.lstEdition.forEach(function(t){e.lstEditionLogins.push({Id:t.Id,Title:t.Title,Login:0})})),this.insertUpdateLicenseFrm.setControl("editionLoginArr",this.fb.array(this.lstEditionLogins))},t.prototype.TestLicenseEditionChanged=function(t){this.insertUpdateLicenseFrm.controls.testLicenseEditionId.setValue(t)},t.prototype.InsertUpdateLicense=function(t){var e=this;if(this.alerts="",Date.parse(this.insertUpdateLicenseFrm.controls.subscriptionStartDate.value)>Date.parse(this.insertUpdateLicenseFrm.controls.subscriptionEndDate.value)&&(this.alerts="Subscription start date must be lower than subscription end dateLicense modesty setings updated successfully
",this.modalRef=this.modalService.show(e))},t.prototype.UpdateLicenseModestySettings=function(t){var e=this;if(this.alerts="",""==this.alerts){var r=this.updateModestySettingsFrm.value;return this.licenseService.UpdateLicenseModestySettings(r).subscribe(function(r){return e.AfterUpdateData(r,t)},function(t){return e.error=t})}},t}();Mn=kn([Object(n.Component)({template:r("Tw4s")}),Gn("design:paramtypes",["function"==typeof(jn=void 0!==ge&&ge)&&jn||Object,"function"==typeof(Vn=void 0!==f&&f)&&Vn||Object,"function"==typeof(Bn=void 0!==w.b&&w.b)&&Bn||Object,"function"==typeof(qn=void 0!==w.a&&w.a)&&qn||Object,"function"==typeof(Hn=void 0!==s.a&&s.a)&&Hn||Object,"function"==typeof(zn=void 0!==Ft.a&&Ft.a)&&zn||Object])],Mn);var jn,Vn,Bn,qn,Hn,zn,Zn=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},$n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Qn=function(){function t(t,e,r,n,i,s){this.licenseService=t,this.globalService=e,this.router=r,this.activeRoute=n,this.fb=i,this.modalService=s}return t.prototype.ngOnInit=function(){this.license=new U,this.license.LicenseId=0,this.alerts="",this.updateModuleSettingsFrm=this.fb.group({licenseId:[0],accountNumber:[""],lstModuleStatus:[this.fb.array([])]}),this.GetLicenseAccounts()},t.prototype.openModal=function(t){this.modalRef=this.modalService.show(t)},t.prototype.GetLicenseAccounts=function(){var t=this;this.licenseService.GetLicenseAccounts(0).subscribe(function(e){t.lstAccountNumbers=e},function(e){return t.error=e})},t.prototype.GetLicenseModulesStatus=function(){var t=this;this.licenseService.GetLicenseModulesStatus(this.license.LicenseId).subscribe(function(e){t.lstModuleStatus=e,t.updateModuleSettingsFrm.setControl("lstModuleStatus",t.fb.array(t.lstModuleStatus))},function(e){return t.error=e})},t.prototype.GetLicenseById=function(){var t=this;0!=this.license.LicenseId&&this.licenseService.GetLicenseById(this.license.LicenseId).subscribe(function(e){t.license=e,t.updateModuleSettingsFrm.controls.licenseId.setValue(t.license.LicenseId),t.updateModuleSettingsFrm.controls.accountNumber.setValue(t.license.AccountNumber),t.GetLicenseModulesStatus()},function(e){return t.error=e})},t.prototype.AccountNumberChanged=function(t){this.license.LicenseId=t,this.lstModuleStatus=null,this.GetLicenseById()},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this.alerts="License module status update unsuccessfull":(this.modalAlerts="License module status updated successfully
",this.modalRef=this.modalService.show(e))},t.prototype.UpdateLicenseModulesStatus=function(t){var e=this;if(this.alerts="",""==this.alerts){var r=this.updateModuleSettingsFrm.value;return this.licenseService.UpdateLicenseModulesStatus(r).subscribe(function(r){return e.AfterUpdateData(r,t)},function(t){return e.error=t})}},t}();Qn=Zn([Object(n.Component)({template:r("r/KK")}),$n("design:paramtypes",["function"==typeof(Jn=void 0!==ge&&ge)&&Jn||Object,"function"==typeof(Kn=void 0!==f&&f)&&Kn||Object,"function"==typeof(Yn=void 0!==w.b&&w.b)&&Yn||Object,"function"==typeof(Wn=void 0!==w.a&&w.a)&&Wn||Object,"function"==typeof(Xn=void 0!==s.a&&s.a)&&Xn||Object,"function"==typeof(ti=void 0!==Ft.a&&Ft.a)&&ti||Object])],Qn);var Jn,Kn,Yn,Wn,Xn,ti,ei=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},ri=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},ni=function(){function t(t,e,r,n,i){this.licenseService=t,this.router=e,this.activeRoute=r,this.fb=n,this.modalService=i,this.mode="Search",this.divClass="",this.topPos="2000px",this.selectedRow=-1,this.selectedId=-1}return t.prototype.ngOnInit=function(){this.divClass="col-sm-12",this.license=new U,this.license.LicenseId=0,this.alerts="",this.insertUpdateSiteLicenseFrm=this.fb.group({licenseId:[0],accountNumber:[{value:"",disabled:!0}],siteId:[0],siteUrl:["",s.f.required],siteUrlTo:[""],siteMasterUrlTo:[""],buildAccName:[""],institutionName:["",s.f.required],departmentName:[""],address1:["",s.f.required],address2:[""],city:["",s.f.required],countryId:[0,s.f.min(1)],stateId:[0,s.f.min(1)],zip:["",s.f.required],phone:["",s.f.required],clientAdminId:[0,s.f.min(1)],clientAdminEmail:[{value:"",disabled:!0},s.f.email],isActive:[0],isMaster:[0],creationDate:[""],modifiedDate:[""],editionLoginArr:this.fb.array([])}),this.GetCountry(),this.GetState(),this.GetEditions(),this.GetLicenseAccounts(),$("#fixed_hdr2").fxdHdrCol({fixedCols:0,width:"100%",height:330,colModal:[{width:200,align:"center"},{width:200,align:"center"},{width:200,align:"Center"},{width:200,align:"Center"},{width:250,align:"Center"},{width:200,align:"Center"},{width:200,align:"Center"},{width:200,align:"Center"},{width:200,align:"Center"}],sort:!0}),document.getElementById("fixed_table_rc").remove();var t=document.createElement("script");t.setAttribute("id","fixed_table_rc"),t.setAttribute("src","../assets/scripts/fixed_table_rc.js"),t.setAttribute("type","text/javascript"),document.body.appendChild(t)},t.prototype.openModal=function(t){this.modalRef=this.modalService.show(t)},t.prototype.SetClickedRow=function(t,e){this.selectedRow=t,this.selectedId=e.Id,this.licenseSite=e},t.prototype.BindFormFields=function(t){this.selectedRow=0,this.lstLicenseSites=t,this.selectedId=this.lstLicenseSites[this.selectedRow].siteId},t.prototype.GetLicenseAccounts=function(){var t=this;this.licenseService.GetLicenseAccounts(3).subscribe(function(e){t.lstAccountNumbers=e},function(e){return t.error=e})},t.prototype.AccountNumberChanged=function(t){this.selectedRow=-1,this.license.LicenseId=t,this.lstLicenseSites=null,0!=this.license.LicenseId&&this.GetLicenseById()},t.prototype.GetCountry=function(){var t=this;this.licenseService.GetCountry().subscribe(function(e){t.lstCountry=e},function(e){return t.error=e})},t.prototype.GetState=function(){var t=this;this.licenseService.GetState().subscribe(function(e){t.lstState=e},function(e){return t.error=e})},t.prototype.GetSiteById=function(){var t=this;this.licenseService.GetSiteById(this.selectedId).subscribe(function(e){t.licenseSite=e,t.insertUpdateSiteLicenseFrm.controls.siteId.setValue(t.licenseSite.Id),t.insertUpdateSiteLicenseFrm.controls.buildAccName.setValue(t.licenseSite.Title),t.insertUpdateSiteLicenseFrm.controls.siteUrl.setValue(t.licenseSite.Ip),t.insertUpdateSiteLicenseFrm.controls.siteUrlTo.setValue(t.licenseSite.SiteIpTo),t.insertUpdateSiteLicenseFrm.controls.siteMasterUrlTo.setValue(t.licenseSite.MasterIpTo),t.insertUpdateSiteLicenseFrm.controls.institutionName.setValue(t.licenseSite.InstituteName),t.insertUpdateSiteLicenseFrm.controls.departmentName.setValue(t.licenseSite.Department),t.insertUpdateSiteLicenseFrm.controls.address1.setValue(t.licenseSite.Address1),t.insertUpdateSiteLicenseFrm.controls.address2.setValue(t.licenseSite.Address2),t.insertUpdateSiteLicenseFrm.controls.city.setValue(t.licenseSite.City),t.insertUpdateSiteLicenseFrm.controls.phone.setValue(t.licenseSite.Phone),t.insertUpdateSiteLicenseFrm.controls.zip.setValue(t.licenseSite.Zip),t.insertUpdateSiteLicenseFrm.controls.countryId.setValue(t.licenseSite.CountryId),t.insertUpdateSiteLicenseFrm.controls.stateId.setValue(t.licenseSite.StateId),t.insertUpdateSiteLicenseFrm.controls.isActive.setValue(t.licenseSite.IsActive),t.insertUpdateSiteLicenseFrm.controls.isMaster.setValue(t.licenseSite.IsMaster),t.insertUpdateSiteLicenseFrm.controls.creationDate.setValue(t.licenseSite.CreationDate),t.insertUpdateSiteLicenseFrm.controls.modifiedDate.setValue(t.licenseSite.ModifiedDate),t.insertUpdateSiteLicenseFrm.controls.clientAdminId.setValue(t.lstLicenseSites[0].SiteUserId),t.GetSiteAccountEditions()},function(e){return t.error=e})},t.prototype.GetSiteAccountEditions=function(){var t=this;this.licenseService.GetSiteAccountEditions(this.licenseSite.Id,this.license.LicenseId).subscribe(function(e){t.lstSiteAccountEditions=e,t.lstEditionLogins.forEach(function(e){t.lstSiteAccountEditions.forEach(function(t){t.m_Item2==e.Id&&(e.Login=1)})}),t.insertUpdateSiteLicenseFrm.setControl("editionLoginArr",t.fb.array(t.lstEditionLogins))},function(e){return t.error=e})},t.prototype.GetLicenseSites=function(){var t=this;this.licenseService.GetLicenseSites(this.license.AccountNumber).subscribe(function(e){t.lstLicenseSites=e,t.insertUpdateSiteLicenseFrm.controls.clientAdminId.setValue(t.lstLicenseSites[0].SiteUserId),t.insertUpdateSiteLicenseFrm.controls.clientAdminEmail.setValue(t.lstLicenseSites[0].SiteUserEmailId);var r=[];r.push({Id:t.lstLicenseSites[0].SiteUserId,Name:t.lstLicenseSites[0].SiteUserFirstName}),t.lstClientAdmin=r},function(e){return t.error=e})},t.prototype.GetEditions=function(){var t=this;this.licenseService.GetEditions().subscribe(function(e){t.lstEdition=e},function(e){return t.error=e})},t.prototype.onChange=function(t,e){3==this.license.LicenseTypeId&&(t.Login=e?1:0)},t.prototype.GetLicenseById=function(){var t=this;0!=this.license.LicenseId&&this.licenseService.GetLicenseById(this.license.LicenseId).subscribe(function(e){if(t.license=e,t.insertUpdateSiteLicenseFrm.controls.licenseId.setValue(t.license.LicenseId),t.insertUpdateSiteLicenseFrm.controls.accountNumber.setValue(t.license.AccountNumber),null!=t.license.EditionLogins){var r=t.license.EditionLogins.split("|");t.lstEditionLogins=new Array,t.lstEdition.forEach(function(e){r.forEach(function(r){r.split("-")[0]==e.Id&&t.lstEditionLogins.push({Id:e.Id,Title:e.Title,Login:0})})}),t.insertUpdateSiteLicenseFrm.setControl("editionLoginArr",t.fb.array(t.lstEditionLogins))}},function(e){return t.error=e})},t.prototype.AfterDeleteData=function(t,e){"false"==t.Status?this.alerts="Site account delete unsuccessfull":(this.modalAlerts="Site account deleted successfully
",this.modalRef=this.modalService.show(e),this.GetLicenseSites())},t.prototype.AfterInsertData=function(t,e){"false"==t.Status?this.alerts="License site save unsuccessfull":(this.modalAlerts="License site saved successfully
",this.modalRef=this.modalService.show(e))},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this.alerts="License site update unsuccessfull":(this.modalAlerts="License site updated successfully
",this.modalRef=this.modalService.show(e))},t.prototype.InsertUpdateSiteAccount=function(t){var e=this;this.alerts="";var r=this.insertUpdateSiteLicenseFrm.value,n="";if(r.editionLoginArr.forEach(function(t){1==t.Login&&(n+=t.Id+",")}),""==n&&(this.alerts="Please select a product edition"),""==this.alerts)return this.licenseService.InsertUpdateSiteAccount(r).subscribe(function(r){return e.AfterInsertData(r,t)},function(t){return e.error=t})},t.prototype.DeleteSiteAccount=function(t){var e=this;if(this.modalRef.hide(),this.alerts="",""==this.alerts){var r=this.licenseSite;return r.LicenseId=this.license.LicenseId,this.licenseService.DeleteSiteAccount(r).subscribe(function(r){return e.AfterDeleteData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.AddLicenseSite=function(t){this.mode="Add",this.topPos="100px",this.alerts="",this.insertUpdateSiteLicenseFrm.controls.siteId.setValue(0),this.insertUpdateSiteLicenseFrm.controls.buildAccName.setValue(""),this.insertUpdateSiteLicenseFrm.controls.siteUrl.setValue(""),this.insertUpdateSiteLicenseFrm.controls.siteUrlTo.setValue(""),this.insertUpdateSiteLicenseFrm.controls.institutionName.setValue(""),this.insertUpdateSiteLicenseFrm.controls.departmentName.setValue(""),this.insertUpdateSiteLicenseFrm.controls.address1.setValue(""),this.insertUpdateSiteLicenseFrm.controls.address2.setValue(""),this.insertUpdateSiteLicenseFrm.controls.city.setValue(""),this.insertUpdateSiteLicenseFrm.controls.phone.setValue(""),this.insertUpdateSiteLicenseFrm.controls.zip.setValue(""),this.insertUpdateSiteLicenseFrm.controls.countryId.setValue(0),this.insertUpdateSiteLicenseFrm.controls.stateId.setValue(0),this.insertUpdateSiteLicenseFrm.controls.isActive.setValue(1),this.insertUpdateSiteLicenseFrm.controls.isMaster.setValue(0),this.insertUpdateSiteLicenseFrm.controls.creationDate.setValue(""),this.insertUpdateSiteLicenseFrm.controls.modifiedDate.setValue(""),this.insertUpdateSiteLicenseFrm.controls.clientAdminId.setValue(0)},t.prototype.EditLicenseSite=function(t){this.mode="Edit",this.topPos="100px",this.alerts="",this.GetSiteById()},t.prototype.CancelAddEdit=function(){var t=this;this.mode="Search",this.topPos="2000px",this.GetLicenseSites(),this.selectedRow=this.lstLicenseSites.findIndex(function(e){return e.Id==t.selectedId}),this.SetClickedRow(this.selectedRow,this.lstLicenseSites[this.selectedRow])},t}();ni=ei([Object(n.Component)({template:r("KfXY")}),ri("design:paramtypes",["function"==typeof(ii=void 0!==ge&&ge)&&ii||Object,"function"==typeof(si=void 0!==w.b&&w.b)&&si||Object,"function"==typeof(oi=void 0!==w.a&&w.a)&&oi||Object,"function"==typeof(ai=void 0!==s.a&&s.a)&&ai||Object,"function"==typeof(li=void 0!==Ft.a&&Ft.a)&&li||Object])],ni);var ii,si,oi,ai,li,ci=this&&this.__decorate||function(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},di=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},pi=function(){function t(t,e,r,n,i,s){this.userService=t,this.router=e,this.activeRoute=r,this.fb=n,this.modalService=i,this._confirmService=s,this.mode="Search",this.modalTitle="User Group",this.divClass="",this.topPos="2000px",this.selectedRow=0,this.selectedId=0}return t.prototype.ngOnInit=function(){this.selectedRow=0,this.divClass="col-sm-12",this.license=new U,this.alerts="",this.updateUserGroupFrm=this.fb.group({userGroupName:["",s.f.required]}),this.GetLicenseAccounts()},t.prototype.openModal=function(t){this.modalRef=this.modalService.show(t)},t.prototype.onChange=function(t,e,r){this.checkedRecords[t]=r?e:0},t.prototype.SetClickedRow=function(t,e){this.selectedRow=t,this.selectedId=e.Id,this.licenseUserGroup=e},t.prototype.BindFormFields=function(t){this.lstLicenseUserGroups=t,this.licenseUserGroup=this.lstLicenseUserGroups[this.selectedRow],this.selectedId=this.licenseUserGroup.Id},t.prototype.BindUserFormFields=function(t){if(this.lstLicenseUserGroupUsers=t,"Edit"==this.mode){this.checkedRecords=new Array(this.lstLicenseUserGroupUsers.length);for(var e=0;eFirst Name | \r\nLast Name | \r\nUser ID | \r\nPassword | \r\nEmail ID | \r\nUser Type | \r\nCreated Date | \r\nLast Modified Date | \r\nAccount Number | \r\nProduct Edition | \r\nStatus | \r\n
---|---|---|---|---|---|---|---|---|---|---|
\r\n | ||||||||||
{{UserEntity.FirstName}} | \r\n{{UserEntity.LastName}} | \r\n{{UserEntity.LoginId}} | \r\n{{UserEntity.Password}} | \r\n{{UserEntity.EmailId}} | \r\n{{UserEntity.UserTypeTitle}} | \r\n{{UserEntity.CreationDate| date: \'MM/dd/yyyy\'}} | \r\n{{UserEntity.ModifiedDate | date: \'MM/dd/yyyy\'}} | \r\n{{UserEntity.AccountNumber}} | \r\n{{UserEntity.EditionType}} | \r\n\r\n Active\r\n Inactive\r\n | \r\n
Select | \r\nModule Names | \r\n
---|---|
\r\n | {{UserRightEntity.Title}} | \r\n
Are you sure to unblock the selected user(s)?
\r\nSelect | \r\nFirst Name | \r\nLast Name | \r\nUser ID | \r\nPassword | \r\nEmail ID | \r\nBlocked Date | \r\nAccount Number | \r\n
---|---|---|---|---|---|---|---|
\r\n \r\n | \r\n{{UserEntity.FirstName}} | \r\n{{UserEntity.LastName}} | \r\n{{UserEntity.LoginId}} | \r\n{{UserEntity.Password}} | \r\n{{UserEntity.EmailId}} | \r\n{{UserEntity.LoginTime| date: \'MM/dd/yyyy\'}} | \r\n{{UserEntity.AccountNumber}} | \r\n
\r\n | Product | \r\nNo of Login | \r\n
---|---|---|
\r\n \r\n | \r\n{{item.Title}} | \r\n\r\n |
Do you want to delete the selected subscription prices?
\r\nSelect | \r\nSubscription Type | \r\nDuration(in Month) | \r\nPrice | \r\nActive | \r\n
---|---|---|---|---|
\r\n \r\n \r\n \r\n | \r\n{{item.Title}} | \r\n{{item.Duration}} | \r\n{{item.Price | number : \'1.2\'}} | \r\n\r\n \r\n | \r\n