This commit is contained in:
2021-06-09 23:18:32 +00:00
parent 2e44d19e70
commit cd4da53210

View File

@@ -3275,7 +3275,7 @@ namespace AyaNova.Biz
{ {
EventType = NotifyEventType.OutsideServiceOverdue, EventType = NotifyEventType.OutsideServiceOverdue,
UserId = sub.UserId, UserId = sub.UserId,
AyaType = AyaType.WorkOrderItemScheduledUser, AyaType = AyaType.WorkOrderItemOutsideService,
ObjectId = oProposed.Id, ObjectId = oProposed.Id,
NotifySubscriptionId = sub.Id, NotifySubscriptionId = sub.Id,
EventDate = (DateTime)oProposed.ETADate, EventDate = (DateTime)oProposed.ETADate,
@@ -3308,7 +3308,7 @@ namespace AyaNova.Biz
{ {
EventType = NotifyEventType.OutsideServiceReceived, EventType = NotifyEventType.OutsideServiceReceived,
UserId = sub.UserId, UserId = sub.UserId,
AyaType = AyaType.WorkOrderItemScheduledUser, AyaType = AyaType.WorkOrderItemOutsideService,
ObjectId = oProposed.Id, ObjectId = oProposed.Id,
NotifySubscriptionId = sub.Id, NotifySubscriptionId = sub.Id,
Name = $"{WorkorderInfo.Serial.ToString()}" Name = $"{WorkorderInfo.Serial.ToString()}"
@@ -3349,7 +3349,7 @@ namespace AyaNova.Biz
{ {
EventType = NotifyEventType.OutsideServiceOverdue, EventType = NotifyEventType.OutsideServiceOverdue,
UserId = sub.UserId, UserId = sub.UserId,
AyaType = AyaType.WorkOrderItemScheduledUser, AyaType = AyaType.WorkOrderItemOutsideService,
ObjectId = oProposed.Id, ObjectId = oProposed.Id,
NotifySubscriptionId = sub.Id, NotifySubscriptionId = sub.Id,
EventDate = (DateTime)oProposed.ETADate, EventDate = (DateTime)oProposed.ETADate,
@@ -3383,7 +3383,7 @@ namespace AyaNova.Biz
{ {
EventType = NotifyEventType.OutsideServiceReceived, EventType = NotifyEventType.OutsideServiceReceived,
UserId = sub.UserId, UserId = sub.UserId,
AyaType = AyaType.WorkOrderItemScheduledUser, AyaType = AyaType.WorkOrderItemOutsideService,
ObjectId = oProposed.Id, ObjectId = oProposed.Id,
NotifySubscriptionId = sub.Id, NotifySubscriptionId = sub.Id,
Name = $"{WorkorderInfo.Serial.ToString()}" Name = $"{WorkorderInfo.Serial.ToString()}"