Update commande.class.php
subprice should be pu without tax
This commit is contained in:
parent
0890f20a72
commit
266f1e2acd
@ -2552,6 +2552,14 @@ class Commande extends CommonOrder
|
||||
|
||||
// Anciens indicateurs: $price, $subprice, $remise (a ne plus utiliser)
|
||||
$price = $pu;
|
||||
if ($price_base_type == 'TTC')
|
||||
{
|
||||
$subprice = $tabprice[5];
|
||||
}
|
||||
else
|
||||
{
|
||||
$subprice = $pu;
|
||||
}
|
||||
$subprice = $pu;
|
||||
$remise = 0;
|
||||
if ($remise_percent > 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user