This commit is contained in:
@@ -661,7 +661,7 @@ namespace AyaNova.Biz
|
|||||||
var customerAlert = await ct.Customer.AsNoTracking().Where(x => x.Id == o.CustomerId).Select(x => x.PopUpNotes).FirstOrDefaultAsync();
|
var customerAlert = await ct.Customer.AsNoTracking().Where(x => x.Id == o.CustomerId).Select(x => x.PopUpNotes).FirstOrDefaultAsync();
|
||||||
if (!string.IsNullOrWhiteSpace(customerAlert))
|
if (!string.IsNullOrWhiteSpace(customerAlert))
|
||||||
{
|
{
|
||||||
o.AlertViz = $"{await Translate("Customer")}:\n{customerAlert}";
|
o.AlertViz = $"{await Translate("Customer")}:\n{customerAlert}\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (o.ProjectId != null)
|
if (o.ProjectId != null)
|
||||||
@@ -673,7 +673,7 @@ namespace AyaNova.Biz
|
|||||||
o.ContractViz = contractVizFields.name;
|
o.ContractViz = contractVizFields.name;
|
||||||
if (!string.IsNullOrWhiteSpace(contractVizFields.alert))
|
if (!string.IsNullOrWhiteSpace(contractVizFields.alert))
|
||||||
{
|
{
|
||||||
o.AlertViz += $"\n\n{await Translate("Contract")}:\n{contractVizFields.alert}";
|
o.AlertViz += $"{await Translate("Contract")}:\n{contractVizFields.alert}\n\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user