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

View File

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