From 9b657696189e83c03a2dd4332efdf9b5f64811b4 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 7 Jun 2021 22:35:30 +0000 Subject: [PATCH] --- server/AyaNova/biz/WorkOrderBiz.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/AyaNova/biz/WorkOrderBiz.cs b/server/AyaNova/biz/WorkOrderBiz.cs index 8738ef7a..72141d04 100644 --- a/server/AyaNova/biz/WorkOrderBiz.cs +++ b/server/AyaNova/biz/WorkOrderBiz.cs @@ -996,7 +996,9 @@ namespace AyaNova.Biz } - //OVERDUE COMPLETION + #region COMPLETE BY OVERDUE + + //COMPLETE BY OVERDUE if (ayaEvent == AyaEvent.Created && oProposed.CompleteByDate != null) {// WorkorderCompletedStatusOverdue Created here on workorder creation for any subscribers // State notify event processor below has more notes and details and will remove this event if set to a completed state @@ -1075,9 +1077,7 @@ namespace AyaNova.Biz }//CREATED overdue completion - - - //todo: contract response time notification + #endregion }//end of process notifications @@ -1294,7 +1294,7 @@ namespace AyaNova.Biz }//workorder status change event - //# OVERDUE TO COMPLETED + //# COMPLETE BY OVERDUE { //NOTE: the initial notification is created by the Workorder Header notification as it's where this time delayed notification is first generated //the only job here in state notification is to remove any prior finish overdue notifications waiting if a new state is selected that is a completed state @@ -1311,7 +1311,7 @@ namespace AyaNova.Biz //Workorder was just set to a completed status so remove any notify events lurking to deliver for overdue await NotifyEventHelper.ClearPriorEventsForObject(ct, proposedObj.AyaType, o.WorkOrderId, NotifyEventType.WorkorderCompletedStatusOverdue); } - }//workorder overdue change event + }//workorder complete by overdue change event }