This commit is contained in:
@@ -170,6 +170,11 @@ namespace AyaNova.Biz
|
||||
if (ne.EventType == NotifyEventType.CustomerServiceImminent)
|
||||
TranslationKeysToFetch.Add("NotifyEventCustomerServiceImminentMessage");
|
||||
|
||||
if (ne.DecValue != 0)
|
||||
{
|
||||
TranslationKeysToFetch.Add("Total");
|
||||
}
|
||||
|
||||
//get translations
|
||||
var transid = await ct.UserOptions.AsNoTracking().Where(x => x.UserId == ne.UserId).Select(x => x.TranslationId).FirstOrDefaultAsync();
|
||||
var LT = await TranslationBiz.GetSubsetStaticAsync(TranslationKeysToFetch, transid);
|
||||
@@ -196,9 +201,9 @@ namespace AyaNova.Biz
|
||||
|
||||
|
||||
//DecValue (only for TheAndy for now workorder exceedsthreshold so not putting a lot of localization effort in; in app will localize properly)
|
||||
string DecDisplay= "";
|
||||
if(ne.DecValue!=0)
|
||||
DecDisplay=$"({ne.DecValue.ToString("N2", System.Globalization.CultureInfo.InvariantCulture)})\n";
|
||||
string DecDisplay = "";
|
||||
if (ne.DecValue != 0)
|
||||
DecDisplay = $"({LT["Total"]}: {ne.DecValue.ToString("N2", System.Globalization.CultureInfo.InvariantCulture)})\n";
|
||||
|
||||
string subject = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user