diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 7038c745364..ba083cc1527 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -714,12 +714,12 @@ if ($resql) print ''.(price2num($object->pmp)?price(price2num($object->pmp*$obj->reel,'MT')):'').''; // Sell price print ''; - if (empty($conf->global->PRODUIT_MULTI_PRICES)) print price(price2num($object->price,'MU'),1); + if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($object->price,'MU'),1); else print $langs->trans("Variable"); print ''; // Value sell print ''; - if (empty($conf->global->PRODUIT_MULTI_PRICES)) print price(price2num($object->price*$obj->reel,'MT'),1).''; + if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($object->price*$obj->reel,'MT'),1).''; else print $langs->trans("Variable"); print ''; ; $total += $obj->reel; @@ -782,12 +782,12 @@ print ''; print $totalvalue?price(price2num($totalvalue,'MT'),1):' '; print ''; print ''; -if (empty($conf->global->PRODUIT_MULTI_PRICES)) print ($total?price($totalvaluesell/$total,1):' '); +if (empty($conf->global->PRODUIT_MULTIPRICES)) print ($total?price($totalvaluesell/$total,1):' '); else print $langs->trans("Variable"); print ''; // Value to sell print ''; -if (empty($conf->global->PRODUIT_MULTI_PRICES)) print price(price2num($totalvaluesell,'MT'),1); +if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($totalvaluesell,'MT'),1); else print $langs->trans("Variable"); print ''; print "";