From 9fed178542b28078b4506d0f3935f2a1f9ea516d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 9 Jun 2020 22:09:59 +0000 Subject: [PATCH] --- Models/Purchase.cs | 5 ++++- wwwroot/js/templates/app.purchaseEdit.handlebars | 6 ++++++ wwwroot/js/templates/app.shell.handlebars | 4 ++-- wwwroot/js/templates/templates.js | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Models/Purchase.cs b/Models/Purchase.cs index 9521a56..4a282eb 100644 --- a/Models/Purchase.cs +++ b/Models/Purchase.cs @@ -11,7 +11,7 @@ namespace rockfishCore.Models public long SiteId { get; set; } public string Name { get; set; } public string VendorName { get; set; } - public string Email { get; set; } + public string Email { get; set; } public string ProductCode { get; set; } public string SalesOrderNumber { get; set; } public long PurchaseDate { get; set; } @@ -22,6 +22,9 @@ namespace rockfishCore.Models //schema v2 public bool RenewNoticeSent { get; set; } + //raven + public int Quantity { get; set; } + [JsonIgnore] public virtual Customer Customer { get; set; } public virtual Site Site { get; set; } diff --git a/wwwroot/js/templates/app.purchaseEdit.handlebars b/wwwroot/js/templates/app.purchaseEdit.handlebars index 44ca8ca..a0fa273 100644 --- a/wwwroot/js/templates/app.purchaseEdit.handlebars +++ b/wwwroot/js/templates/app.purchaseEdit.handlebars @@ -13,6 +13,12 @@ + +
+
+ + +
diff --git a/wwwroot/js/templates/app.shell.handlebars b/wwwroot/js/templates/app.shell.handlebars index e38b75d..59c7060 100644 --- a/wwwroot/js/templates/app.shell.handlebars +++ b/wwwroot/js/templates/app.shell.handlebars @@ -1,5 +1,5 @@ -