TVA NP : update price calculation
This commit is contained in:
parent
b2b0d1616d
commit
aaaa5242d6
@ -1002,7 +1002,7 @@ class Product extends CommonObject
|
||||
else
|
||||
{
|
||||
$price = price2num($newprice,'MU');
|
||||
$price_ttc = price2num($newprice) * (1 + ($newvat / 100));
|
||||
$price_ttc = ( $newnpr != 1 ) ? price2num($newprice) * (1 + ($newvat / 100)) : $price;
|
||||
$price_ttc = price2num($price_ttc,'MU');
|
||||
|
||||
if ($newminprice!='' || $newminprice==0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user