This commit is contained in:
@@ -256,7 +256,7 @@ namespace AyaNova.Api.Controllers
|
||||
TranslationKeysToFetch.Add("NotifyEventWorkorderStatusAge");
|
||||
TranslationKeysToFetch.Add("NotifyEventUnitWarrantyExpiry");
|
||||
TranslationKeysToFetch.Add("NotifyEventUnitMeterReadingMultipleExceeded");
|
||||
// TranslationKeysToFetch.Add("NotifyEventDefaultNotification");
|
||||
TranslationKeysToFetch.Add("NotifyEventServerOperationsProblem");
|
||||
|
||||
var LT = TranslationBiz.GetSubsetStaticAsync(TranslationKeysToFetch, TranslationId).Result;
|
||||
|
||||
@@ -286,7 +286,7 @@ namespace AyaNova.Api.Controllers
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["NotifyEventWorkorderStatusAge"], Id = (long)NotifyEventType.WorkorderStatusAge });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["NotifyEventUnitWarrantyExpiry"], Id = (long)NotifyEventType.UnitWarrantyExpiry });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["NotifyEventUnitMeterReadingMultipleExceeded"], Id = (long)NotifyEventType.UnitMeterReadingMultipleExceeded });
|
||||
// ReturnList.Add(new NameIdItem() { Name = LT["NotifyEventDefaultNotification"], Id = (long)NotifyEventType.DefaultNotification });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["NotifyEventServerOperationsProblem"], Id = (long)NotifyEventType.ServerOperationsProblem });
|
||||
|
||||
}
|
||||
else if (keyNameInLowerCase == StringUtil.TrimTypeName(typeof(NotifyDeliveryMethod).ToString()).ToLowerInvariant())
|
||||
|
||||
@@ -36,7 +36,8 @@ namespace AyaNova.Biz
|
||||
WorkorderStatusAge = 24,//sitting too long in same status
|
||||
UnitWarrantyExpiry = 25,
|
||||
UnitMeterReadingMultipleExceeded = 26,
|
||||
DefaultNotification = 27//old quick notification, refers now to any direct text notification internal or user to user used for system notifications
|
||||
DefaultNotification = 27,//old quick notification, refers now to any direct text notification internal or user to user used for system notifications
|
||||
ServerOperationsProblem = 28//and serious issue with server operations requiring intervention
|
||||
|
||||
|
||||
//NEW ITEMS REQUIRE translation KEYS
|
||||
|
||||
@@ -45,9 +45,7 @@ namespace AyaNova.Biz
|
||||
using (AyContext ct = AyaNova.Util.ServiceProviderProvider.DBContext)
|
||||
{
|
||||
//select all jobs with no deliver date or deliver date no longer in future
|
||||
//Open question: what to do with failed deliveries?
|
||||
//we dont' want them piling up but we don't want to just dump them do we?
|
||||
//it should be only mail ones that fail, not app ones, there's no way for an app delivery to fail as it's just put in a table
|
||||
|
||||
//### PLAN if it's an smtp delivery that fails and it's to someone who can be delivered in app then it should send an inapp notification of
|
||||
//delivery failure and still delete the smtp delivery
|
||||
//If it's not possible to notify the person via in app of the failed smtp then perhaps it notifies OPS personnel and biz admin personnel
|
||||
|
||||
@@ -1885,7 +1885,8 @@
|
||||
"NotifyEventUnitMeterReadingMultipleExceeded": "Zählerstand überschritten (Vielfaches)",
|
||||
"NotifyEventDefaultNotification": "Standardbenachrichtigung",
|
||||
"NotifyDeliveryMethodApp": "In Anwendung liefern",
|
||||
"NotifyDeliveryMethodSMTP": "An E-Mail-Adresse liefern",
|
||||
"NotifyEventObjectAge":"Objektalter seit der Erstellung",
|
||||
"NotifyDeliveryMethodSMTP": "An E-Mail-Adresse liefern",
|
||||
"NotifyEventObjectAge": "Objektalter seit der Erstellung",
|
||||
"NotifyEventServerOperationsProblem": "Problem mit dem Serverbetrieb",
|
||||
"Duration": "Dauer"
|
||||
}
|
||||
@@ -1886,6 +1886,7 @@
|
||||
"NotifyEventDefaultNotification": "Default notification",
|
||||
"NotifyDeliveryMethodApp": "Deliver in application",
|
||||
"NotifyDeliveryMethodSMTP": "Deliver to email address",
|
||||
"NotifyEventObjectAge":"Object age since created",
|
||||
"NotifyEventObjectAge": "Object age since created",
|
||||
"NotifyEventServerOperationsProblem": "Server operations problem",
|
||||
"Duration": "Duration"
|
||||
}
|
||||
@@ -1885,7 +1885,8 @@
|
||||
"NotifyEventUnitMeterReadingMultipleExceeded": "Lectura de medidor de unidad excedida (múltiple)",
|
||||
"NotifyEventDefaultNotification": "Notificación predeterminada",
|
||||
"NotifyDeliveryMethodApp": "Entregar en programa",
|
||||
"NotifyDeliveryMethodSMTP": "Entregar a la dirección de correo electrónico",
|
||||
"NotifyEventObjectAge":"Edad del objeto desde su creación",
|
||||
"NotifyDeliveryMethodSMTP": "Entregar a la dirección de correo electrónico",
|
||||
"NotifyEventObjectAge": "Edad del objeto desde su creación",
|
||||
"NotifyEventServerOperationsProblem": "Problema de operaciones del servidor",
|
||||
"Duration": "Duración"
|
||||
}
|
||||
@@ -1886,6 +1886,7 @@
|
||||
"NotifyEventDefaultNotification": "Notification par défaut",
|
||||
"NotifyDeliveryMethodApp": "Livrer dans le programme",
|
||||
"NotifyDeliveryMethodSMTP": "Livrer à l'adresse e-mail",
|
||||
"NotifyEventObjectAge":"Âge de l'objet depuis sa création",
|
||||
"NotifyEventObjectAge": "Âge de l'objet depuis sa création",
|
||||
"NotifyEventServerOperationsProblem": "Problème de fonctionnement du serveur",
|
||||
"Duration": "Durée"
|
||||
}
|
||||
Reference in New Issue
Block a user