This commit is contained in:
@@ -1785,17 +1785,17 @@ namespace AyaNova.Biz
|
|||||||
var netPrice = (o.Price * o.ServiceRateQuantity);
|
var netPrice = (o.Price * o.ServiceRateQuantity);
|
||||||
if (o.TaxAPct != 0)
|
if (o.TaxAPct != 0)
|
||||||
{
|
{
|
||||||
o.TaxAViz = netPrice * o.TaxAPct;
|
o.TaxAViz = netPrice * (o.TaxAPct / 100);
|
||||||
}
|
}
|
||||||
if (o.TaxBPct != 0)
|
if (o.TaxBPct != 0)
|
||||||
{
|
{
|
||||||
if (o.TaxOnTax)
|
if (o.TaxOnTax)
|
||||||
{
|
{
|
||||||
o.TaxBViz = (netPrice + o.TaxAViz) * o.TaxBPct;
|
o.TaxBViz = (netPrice + o.TaxAViz) * (o.TaxBPct / 100);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
o.TaxBViz = netPrice * o.TaxBPct;
|
o.TaxBViz = netPrice * (o.TaxBPct / 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
o.LineTotalViz = netPrice + o.TaxAViz + o.TaxBViz;
|
o.LineTotalViz = netPrice + o.TaxAViz + o.TaxBViz;
|
||||||
|
|||||||
Reference in New Issue
Block a user