This commit is contained in:
2021-06-17 18:52:40 +00:00
parent cf450ea7ef
commit aebd83e45d
3 changed files with 4 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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; }