From 83d0105d0553a8fb515676f3ba3390735a6e5371 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 11 Feb 2022 00:41:19 +0000 Subject: [PATCH] --- server/AyaNova/biz/QuoteBiz.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/AyaNova/biz/QuoteBiz.cs b/server/AyaNova/biz/QuoteBiz.cs index 76936bf3..0dc60a64 100644 --- a/server/AyaNova/biz/QuoteBiz.cs +++ b/server/AyaNova/biz/QuoteBiz.cs @@ -1264,7 +1264,7 @@ namespace AyaNova.Biz { EventType = NotifyEventType.QuoteStatusChange, UserId = sub.UserId, - AyaType = AyaType.WorkOrder, + AyaType = AyaType.Quote, ObjectId = oProposed.QuoteId, NotifySubscriptionId = sub.Id, Name = $"{QuoteInfo.Serial.ToString()} - {qos.Name}" @@ -1287,14 +1287,14 @@ namespace AyaNova.Biz //not for inactive users if (!await UserBiz.UserIsActive(sub.UserId)) continue; - //WorkOrder Tag match? (Not State, state has no tags, will be true if no sub tags so always safe to call this) + //Quote Tag match? (Not State, state has no tags, will be true if no sub tags so always safe to call this) if (NotifyEventHelper.ObjectHasAllSubscriptionTags(QuoteInfo.Tags, sub.Tags)) { NotifyEvent n = new NotifyEvent() { EventType = NotifyEventType.QuoteStatusAge, UserId = sub.UserId, - AyaType = AyaType.WorkOrder, + AyaType = AyaType.Quote, ObjectId = oProposed.QuoteId, NotifySubscriptionId = sub.Id, Name = $"{QuoteInfo.Serial.ToString()} - {qos.Name}" @@ -1306,9 +1306,6 @@ namespace AyaNova.Biz } }//quote status age event - - - } }//end of process notifications