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