This commit is contained in:
@@ -193,8 +193,7 @@ namespace Sockeye.Biz
|
||||
.AddText(obj.CouponCode)
|
||||
.AddText(obj.Wiki)
|
||||
.AddText(obj.Tags)
|
||||
.AddText(obj.Notes)
|
||||
.AddText(obj.VendorData);
|
||||
.AddText(obj.Notes);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -270,7 +269,7 @@ namespace Sockeye.Biz
|
||||
{
|
||||
vc.Add(await ct.Vendor.AsNoTracking().Where(x => x.Id == o.VendorId).Select(x => x.Name).FirstOrDefaultAsync(), "vendor", o.VendorId);
|
||||
}
|
||||
o.VendorViz = vc.Get("vendor", o.CustomerId);
|
||||
o.VendorViz = vc.Get("vendor", o.VendorId);
|
||||
|
||||
|
||||
if (!vc.Has("product", o.ProductId))
|
||||
@@ -441,7 +440,7 @@ namespace Sockeye.Biz
|
||||
{
|
||||
|
||||
//# NEW PURCHASE VENDOR NOTIFICATION
|
||||
if (ayaEvent == SockEvent.Created && (!string.IsNullOrWhiteSpace(o.VendorData)))
|
||||
if (ayaEvent == SockEvent.Created)
|
||||
{
|
||||
//Get product name and get customer name to notify
|
||||
var productName = await ct.Product.AsNoTracking().Where(x => x.Id == o.ProductId).Select(x => x.Name).FirstOrDefaultAsync();
|
||||
|
||||
Reference in New Issue
Block a user