This commit is contained in:
@@ -33,6 +33,8 @@ namespace rockfishCore.Controllers
|
|||||||
[Required]
|
[Required]
|
||||||
public string DbId { get; set; }
|
public string DbId { get; set; }
|
||||||
[Required]
|
[Required]
|
||||||
|
public bool Perpetual { get; set; }
|
||||||
|
[Required]
|
||||||
public bool LicenseExpires { get; set; }
|
public bool LicenseExpires { get; set; }
|
||||||
[Required]
|
[Required]
|
||||||
public long LicenseExpirationDate { get; set; }
|
public long LicenseExpirationDate { get; set; }
|
||||||
@@ -128,6 +130,7 @@ namespace rockfishCore.Controllers
|
|||||||
DBLicense.SiteId = l.SiteId;
|
DBLicense.SiteId = l.SiteId;
|
||||||
DBLicense.Email = Customer.AdminEmail;
|
DBLicense.Email = Customer.AdminEmail;
|
||||||
DBLicense.DbId = l.DbId;
|
DBLicense.DbId = l.DbId;
|
||||||
|
DBLicense.Perpetual = l.Perpetual;
|
||||||
DBLicense.Code = "na";
|
DBLicense.Code = "na";
|
||||||
DBLicense.Key = Key;
|
DBLicense.Key = Key;
|
||||||
DBLicense.RegTo = l.RegisteredTo;
|
DBLicense.RegTo = l.RegisteredTo;
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ namespace rockfishCore.Models
|
|||||||
public long? DtFetched { get; set; }
|
public long? DtFetched { get; set; }
|
||||||
public bool Fetched { get; set; }
|
public bool Fetched { get; set; }
|
||||||
public string DbId { get; set; }
|
public string DbId { get; set; }
|
||||||
|
public bool Perpetual { get; set; }
|
||||||
|
|
||||||
public long? DtLicenseExpiration { get; set; }
|
public long? DtLicenseExpiration { get; set; }
|
||||||
public long? DtMaintenanceExpiration { get; set; }
|
public long? DtMaintenanceExpiration { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -48,9 +48,9 @@
|
|||||||
|
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<label class="form-check-label" for="subscriptionLicense">
|
<label class="form-check-label" for="perpetual">
|
||||||
<input class="form-check-input" type="checkbox" name="subscriptionLicense" id="subscriptionLicense">
|
<input class="form-check-input" type="checkbox" name="perpetual" id="perpetual">
|
||||||
Subscription license
|
Perpetual license
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user