From 3b08ba68076645c8cb1009e23f106a9dd7eb703e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 17 Aug 2022 00:47:05 +0000 Subject: [PATCH] --- Controllers/RvlController.cs | 3 +++ Models/License.cs | 2 ++ wwwroot/js/templates/app.ravLicense.handlebars | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Controllers/RvlController.cs b/Controllers/RvlController.cs index 7832474..49e4f76 100644 --- a/Controllers/RvlController.cs +++ b/Controllers/RvlController.cs @@ -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; diff --git a/Models/License.cs b/Models/License.cs index a69fe94..92967c7 100644 --- a/Models/License.cs +++ b/Models/License.cs @@ -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; } diff --git a/wwwroot/js/templates/app.ravLicense.handlebars b/wwwroot/js/templates/app.ravLicense.handlebars index c0fa02f..c32d9b7 100644 --- a/wwwroot/js/templates/app.ravLicense.handlebars +++ b/wwwroot/js/templates/app.ravLicense.handlebars @@ -48,9 +48,9 @@
-