This commit is contained in:
2021-05-26 19:57:37 +00:00
parent 293a679f14
commit 3f73cab798

View File

@@ -3474,14 +3474,13 @@ namespace AyaNova.Biz
if (poid != 0)
po = await ct.PurchaseOrder.AsNoTracking().Where(x => x.Id == poid).FirstOrDefaultAsync();
}
if(po!=null){
o.PurchaseOrderViz=po.Serial.ToString();
o.PurchaseOrderIdViz=po.Id;
o.PurchaseOrderDateViz=po.OrderedDate;
o.PurchaseOrderExpectedDateViz=po.ExpectedReceiveDate;
if (po != null)
{
o.PurchaseOrderViz = po.Serial.ToString();
o.PurchaseOrderIdViz = po.Id;
o.PurchaseOrderDateViz = po.OrderedDate;
o.PurchaseOrderExpectedDateViz = po.ExpectedReceiveDate;
}
}