This commit is contained in:
@@ -2573,7 +2573,7 @@ namespace AyaNova.Biz
|
||||
if (o.TaxCodeSaleId != null)
|
||||
Tax = await ct.TaxCode.AsNoTracking().FirstOrDefaultAsync(z => z.Id == o.TaxCodeSaleId);
|
||||
if (Tax != null)
|
||||
o.TaxCodeSaleViz = Tax.Name;
|
||||
o.TaxCodeViz = Tax.Name;
|
||||
|
||||
o.PriceViz = 0;
|
||||
if (Rate != null)
|
||||
@@ -5369,7 +5369,7 @@ namespace AyaNova.Biz
|
||||
if (o.TaxCodeSaleId != null)
|
||||
Tax = await ct.TaxCode.AsNoTracking().FirstOrDefaultAsync(z => z.Id == o.TaxCodeSaleId);
|
||||
if (Tax != null)
|
||||
o.TaxCodeSaleViz = Tax.Name;
|
||||
o.TaxCodeViz = Tax.Name;
|
||||
|
||||
o.PriceViz = 0;
|
||||
if (Rate != null)
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace AyaNova.Models
|
||||
//public long? ServiceBankId { get; set; }
|
||||
public long? TaxCodeSaleId { get; set; }
|
||||
[NotMapped]
|
||||
public string TaxCodeSaleViz { get; set; }
|
||||
public string TaxCodeViz { get; set; }
|
||||
|
||||
|
||||
//Standard pricing fields (mostly to support printed reports though some show in UI)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace AyaNova.Models
|
||||
//public long? ServiceBankId { get; set; }
|
||||
public long? TaxCodeSaleId { get; set; }
|
||||
[NotMapped]
|
||||
public string TaxCodeSaleViz { get; set; }
|
||||
public string TaxCodeViz { get; set; }
|
||||
public decimal Distance { get; set; }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user