diff --git a/htdocs/product/price.php b/htdocs/product/price.php index ea593edd289..65be1149327 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -192,7 +192,15 @@ if ($_GET["action"] == 'edit_price' && $user->rights->produit->creer) print ''; if($conf->global->PRODUIT_MULTIPRICES == 1) { - print ''; + if ($product->price_base_type == 'TTC') + { + print ''; } @@ -200,13 +208,13 @@ if ($_GET["action"] == 'edit_price' && $user->rights->produit->creer) { print ''; if ($product->price_base_type == 'TTC') - { - print ''; } @@ -223,7 +231,15 @@ if ($_GET["action"] == 'edit_price' && $user->rights->produit->creer) print ''; print ''; print '
'.$langs->trans('SellingPrice').' 1'; + print '
'.$langs->trans('SellingPrice').' 1'; + } + else + { + print ''; + } print $html->select_PriceBaseType($product->price_base_type, "price_base_type"); print '
'.$langs->trans('SellingPrice').''; - } + { + print ''; + } else - { - print ''; - } + { + print ''; + } print $html->select_PriceBaseType($product->price_base_type, "price_base_type"); print '
'; - print ''; + if ($product->price_base_type == 'TTC') + { + print ''; print '
'.$langs->trans("SellingPrice").' '.$i.''; + print '
'.$langs->trans("SellingPrice").' '.$i.''; + } + else + { + print ''; + } print $html->select_PriceBaseType($product->price_base_type, "price_base_type_".$i); print '
 ';