diff --git a/400-SOURCECODE/Admin/src/app/components/LicenseEntity/addlicense.component.ts b/400-SOURCECODE/Admin/src/app/components/LicenseEntity/addlicense.component.ts
index abbea45..fee0ebc 100644
--- a/400-SOURCECODE/Admin/src/app/components/LicenseEntity/addlicense.component.ts
+++ b/400-SOURCECODE/Admin/src/app/components/LicenseEntity/addlicense.component.ts
@@ -680,10 +680,10 @@ export class AddLicense implements OnInit {
this.alerts += 'Account number already exists. Enter a different account number.';
}
if (this.alerts == '') {
- // return this.licenseService.InsertLicense(obj)
- // .subscribe(
- // n => (this.AfterInsertData(n, template)),
- // error => this.error = error);
+ return this.licenseService.InsertLicense(obj)
+ .subscribe(
+ n => (this.AfterInsertData(n, template)),
+ error => this.error = error);
}
},
error => this.error = error);
@@ -695,10 +695,10 @@ export class AddLicense implements OnInit {
if (this.alerts == '') {
console.log(this.insertUpdateLicenseFrm.controls['subscriptionStartDate'].value + ', ' + this.insertUpdateLicenseFrm.controls['subscriptionEndDate'].value + ', ' + this.insertUpdateLicenseFrm.controls['renewDate'].value);
console.log(obj.subscriptionStartDate + ', ' + obj.subscriptionEndDate + ', ' + obj.renewDate);
- // return this.licenseService.UpdateLicense(obj)
- // .subscribe(
- // n => (this.AfterUpdateData(n, template)),
- // error => this.error = error);
+ return this.licenseService.UpdateLicense(obj)
+ .subscribe(
+ n => (this.AfterUpdateData(n, template)),
+ error => this.error = error);
}
}
}