From 3dc9ffbd10f531435fb7f938c79d292be4258690 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 9 Jun 2020 21:59:16 +0000 Subject: [PATCH] --- Models/Site.cs | 10 +++++++--- .../templates/app.customerSiteEdit.handlebars | 18 +++++++++++++++--- wwwroot/js/templates/app.shell.handlebars | 2 +- wwwroot/js/templates/templates.js | 2 +- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/Models/Site.cs b/Models/Site.cs index fe7d702..031792e 100644 --- a/Models/Site.cs +++ b/Models/Site.cs @@ -6,10 +6,10 @@ namespace rockfishCore.Models public partial class Site { public Site() - { - // Incident = new HashSet(); + { Purchase = new HashSet(); - //TrialNavigation = new HashSet(); + LegacyV7=true; + DbId="v7_no_dbid"; } public long Id { get; set; } @@ -31,6 +31,10 @@ namespace rockfishCore.Models public string ServerBits { get; set; } public string Notes { get; set; } + //raven new + public bool LegacyV7 { get; set; } + public string DbId { get; set; } + // public virtual ICollection Incident { get; set; } public virtual ICollection Purchase { get; set; } // public virtual ICollection TrialNavigation { get; set; } diff --git a/wwwroot/js/templates/app.customerSiteEdit.handlebars b/wwwroot/js/templates/app.customerSiteEdit.handlebars index 6c57149..e31a454 100644 --- a/wwwroot/js/templates/app.customerSiteEdit.handlebars +++ b/wwwroot/js/templates/app.customerSiteEdit.handlebars @@ -14,12 +14,24 @@
-
+
+
+ + +
+
+
+
+ +
+
-
+ {{!--
@@ -69,7 +81,7 @@
-
+
--}}
diff --git a/wwwroot/js/templates/app.shell.handlebars b/wwwroot/js/templates/app.shell.handlebars index 805c6b8..e38b75d 100644 --- a/wwwroot/js/templates/app.shell.handlebars +++ b/wwwroot/js/templates/app.shell.handlebars @@ -1,4 +1,4 @@ -