This commit is contained in:
2021-08-26 15:38:48 +00:00
parent 42b2cbd5c4
commit 84b1037698
6 changed files with 43 additions and 47 deletions

View File

@@ -4571,6 +4571,10 @@ namespace AyaNova.Biz
o.PurchaseOrderIdViz = po.Id;
o.PurchaseOrderDateViz = po.OrderedDate;
o.PurchaseOrderExpectedDateViz = po.ExpectedReceiveDate;
if(o.RequestedByUserId!=null){
o.RequestedByUserViz=await ct.User.AsNoTracking().Where(x => x.Id == o.RequestedByUserId).Select(x => x.Name).FirstOrDefaultAsync();
}
}
}