From 0cee4b016bb682c52a4925e97591dff4dfebbf9b Mon Sep 17 00:00:00 2001 From: Sof Date: Fri, 5 Feb 2016 19:46:01 +0100 Subject: [PATCH] FIX : Typo --- htdocs/product/stock/product.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 "";