case 3976
This commit is contained in:
@@ -859,9 +859,9 @@ namespace AyaNova.Biz
|
||||
await ItemPopulateVizFields(v, populateForReporting);
|
||||
}
|
||||
|
||||
//popup Alert notes
|
||||
//Alert notes
|
||||
//Customer notes first then others below
|
||||
var custInfo = await ct.Customer.AsNoTracking().Where(x => x.Id == o.CustomerId).Select(x => new { AlertViz = x.PopUpNotes, x.TechNotes, CustomerViz = x.Name }).FirstOrDefaultAsync();
|
||||
var custInfo = await ct.Customer.AsNoTracking().Where(x => x.Id == o.CustomerId).Select(x => new { AlertViz = x.AlertNotes, x.TechNotes, CustomerViz = x.Name }).FirstOrDefaultAsync();
|
||||
if (!string.IsNullOrWhiteSpace(custInfo.AlertViz))
|
||||
{
|
||||
o.AlertViz = $"{await Translate("Customer")} - {await Translate("AlertNotes")}\n{custInfo.AlertViz}\n\n";
|
||||
|
||||
Reference in New Issue
Block a user