This commit is contained in:
2021-05-13 19:56:29 +00:00
parent 5d670daaab
commit ea7646fbcc
2 changed files with 3 additions and 2 deletions

View File

@@ -1839,6 +1839,7 @@ namespace AyaNova.Biz
newObj.TaxAPct = 0; newObj.TaxAPct = 0;
newObj.TaxBPct = 0; newObj.TaxBPct = 0;
newObj.TaxOnTax = false; newObj.TaxOnTax = false;
newObj.TaxName="";
if (newObj.TaxCodeSaleId != null) if (newObj.TaxCodeSaleId != null)
{ {
@@ -1848,6 +1849,7 @@ namespace AyaNova.Biz
newObj.TaxAPct = t.TaxAPct; newObj.TaxAPct = t.TaxAPct;
newObj.TaxBPct = t.TaxBPct; newObj.TaxBPct = t.TaxBPct;
newObj.TaxOnTax = t.TaxOnTax; newObj.TaxOnTax = t.TaxOnTax;
newObj.TaxName=t.Name;
} }
} }
} }

View File

@@ -50,7 +50,6 @@ namespace AyaNova.Models
public decimal ListPrice { get; set; } public decimal ListPrice { get; set; }
[Required] [Required]
public decimal Price { get; set; } public decimal Price { get; set; }
[Required]
public string TaxName { get; set; } public string TaxName { get; set; }
[Required] [Required]
public decimal TaxAPct { get; set; } public decimal TaxAPct { get; set; }