This commit is contained in:
@@ -37,7 +37,7 @@ namespace AyaNova.Biz
|
||||
internal async Task<GlobalBizSettings> GetAsync(bool logTheGetEvent = true)
|
||||
{
|
||||
//first try to fetch from db
|
||||
var ret = await ct.GlobalBizSettings.SingleOrDefaultAsync(m => m.Id == 1);
|
||||
var ret = await ct.GlobalBizSettings.AsNoTracking().SingleOrDefaultAsync(m => m.Id == 1);
|
||||
if (logTheGetEvent && ret != null)
|
||||
{
|
||||
//Log
|
||||
@@ -80,7 +80,7 @@ namespace AyaNova.Biz
|
||||
//Log modification and save context
|
||||
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, 1, BizType, AyaEvent.Modified), ct);
|
||||
//Update the static copy for the server
|
||||
ServerGlobalBizSettings.Initialize(dbObject);
|
||||
ServerGlobalBizSettings.Initialize(putObject);
|
||||
return dbObject;
|
||||
}
|
||||
|
||||
|
||||
@@ -312,6 +312,7 @@
|
||||
"GlobalUnitNameDisplayFormatsDescription": "Bestimmt das Format, in dem Einheiten in den Dropdown-Auswahlfeldern auf Servicearbeitsaufträgen, Angeboten und Wartung/Inspektion-Aufträgen angezeigt werden.",
|
||||
"GlobalUseInventory": "Bestand verwenden",
|
||||
"GlobalUseInventoryDescription": "Wenn FALSCH festgelegt ist, wird der Zugriff auf die Teileeingabe und die Auswahl von auf Arbeitsaufträgen verwendeten Teilen eingeschränkt. Wenn WAHR festgelegt ist, kann auf alle Bestandsfunktionen zugegriffen werden.",
|
||||
"GlobalSearchCaseSensitiveOnly": "Suche zwischen Groß- und Kleinschreibung unterscheiden",
|
||||
"GlobalUseNotification": "Benachrichtigung verwenden",
|
||||
"GlobalUseNotificationDescription": "Wird WAHR festgelegt, wird das Benachrichtigungssystem eingeschaltet. Wird FALSCH festgelegt, wird die gesamte Benachrichtigungsverarbeitung ausgeschaltet.",
|
||||
"GlobalUseRegions": "Regionen verwenden",
|
||||
|
||||
@@ -312,6 +312,7 @@
|
||||
"GlobalUnitNameDisplayFormatsDescription": "Determines the format of how Units display within drop down selection boxes within workorders, quotes, and pm's.",
|
||||
"GlobalUseInventory": "Use Inventory",
|
||||
"GlobalUseInventoryDescription": "FALSE restricts access to part entry and selection of parts used within workorders. TRUE allows access to all inventory functions.",
|
||||
"GlobalSearchCaseSensitiveOnly": "Search is case sensitive",
|
||||
"GlobalUseNotification": "Use Notification",
|
||||
"GlobalUseNotificationDescription": "If set to TRUE turns on notification system\r\nIf set to FALSE turns off all notification processing.",
|
||||
"GlobalUseRegions": "Use Regions",
|
||||
|
||||
@@ -312,6 +312,7 @@
|
||||
"GlobalUnitNameDisplayFormatsDescription": "Determina el formato en el que se muestran las unidades en los cuadros de selección desplegables de los pedidos de servicio, presupuestos y mantenimientos preventivos",
|
||||
"GlobalUseInventory": "Usar inventario",
|
||||
"GlobalUseInventoryDescription": "Si se ajusta a falso, el acceso queda limitado a la entrada de piezas y a la selección de las utilizadas en los pedidos de servicio. Si se ajusta a verdadero, se permite el acceso a todas las funciones del inventario.",
|
||||
"GlobalSearchCaseSensitiveOnly": "Búsqueda sensible a mayúsculas y minúsculas",
|
||||
"GlobalUseNotification": "Usar notificaciones",
|
||||
"GlobalUseNotificationDescription": "Si se ajusta a verdadero, se activa el sistema de notificaciones. Si se ajusta a falso, todo el procesamiento de las notificaciones se desactiva.",
|
||||
"GlobalUseRegions": "Usar regiones",
|
||||
|
||||
@@ -312,6 +312,7 @@
|
||||
"GlobalUnitNameDisplayFormatsDescription": "Détermine le format d'affichage des unités dans les champs déroulants pour les bons de travail de service, les devis et les entretiens préventifs.",
|
||||
"GlobalUseInventory": "Utiliser le stock",
|
||||
"GlobalUseInventoryDescription": "FAUX limite l’accès à la saisie de pièces et à la sélection des pièces utilisées dans les bons de travail de service. VRAI autorise l’accès à toutes les fonctions liées aux stocks.",
|
||||
"GlobalSearchCaseSensitiveOnly": "Recherche sensible à la casse",
|
||||
"GlobalUseNotification": "Utiliser notification",
|
||||
"GlobalUseNotificationDescription": "Si VRAI, active le système de notification. Si FAUX, désactive toutes les procédures de notification.",
|
||||
"GlobalUseRegions": "Utiliser les régions",
|
||||
|
||||
Reference in New Issue
Block a user