case 3976

This commit is contained in:
2021-09-24 23:42:59 +00:00
parent 542926b748
commit ed78e94af9
19 changed files with 38 additions and 29 deletions

View File

@@ -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";