This commit is contained in:
@@ -1006,10 +1006,14 @@ namespace AyaNova.Biz
|
||||
var custInfo = await ct.Customer.AsNoTracking().Where(x => x.Id == o.CustomerId).Select(x => new { AlertViz = x.PopUpNotes, x.TechNotes, CustomerViz = x.Name }).FirstOrDefaultAsync();
|
||||
if (!string.IsNullOrWhiteSpace(custInfo.AlertViz))
|
||||
{
|
||||
o.AlertViz = $"{await Translate("Customer")}\n{custInfo.AlertViz}\n\n";
|
||||
o.AlertViz = $"{await Translate("Customer")} - {await Translate("AlertNotes")}\n{custInfo.AlertViz}\n\n";
|
||||
}
|
||||
|
||||
o.CustomerTechNotesViz = custInfo.TechNotes;
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(custInfo.TechNotes))
|
||||
{
|
||||
o.CustomerTechNotesViz = $"{await Translate("CustomerTechNotes")}\n{custInfo.TechNotes}\n\n";
|
||||
}
|
||||
|
||||
o.CustomerViz = custInfo.CustomerViz;
|
||||
|
||||
if (o.ProjectId != null)
|
||||
@@ -4117,7 +4121,7 @@ namespace AyaNova.Biz
|
||||
return;//this should never happen but this is insurance in case it does
|
||||
|
||||
o.PartViz = part.PartNumber;
|
||||
o.PartNameViz=part.Name;
|
||||
o.PartNameViz = part.Name;
|
||||
o.UpcViz = part.UPC;
|
||||
|
||||
TaxCode Tax = null;
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace AyaNova.Models
|
||||
public long CustomerId { get; set; }
|
||||
[NotMapped]
|
||||
public string CustomerViz { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string CustomerTechNotesViz { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user