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