diff --git a/htdocs/product/dynamic_price/editor.php b/htdocs/product/dynamic_price/editor.php index ba00d3be3bd..dc7c670f4cb 100644 --- a/htdocs/product/dynamic_price/editor.php +++ b/htdocs/product/dynamic_price/editor.php @@ -231,7 +231,7 @@ print ''; diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index dab8d8dcf5d..04007d2ede1 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -467,7 +467,7 @@ if ($id > 0 || $ref) window.location = "'.DOL_URL_ROOT.'/product/dynamic_price/editor.php?id='.$id.'&tab=fournisseurs&eid=" + $("#eid").attr("value"); } function on_change() { - if ($("#eid").attr("value") == 0) { + if ($("#eid").val() == 0) { jQuery("#price_numeric").show(); } else { jQuery("#price_numeric").hide(); diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 3f16a20d98b..2a770841c60 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -841,13 +841,13 @@ if ($action == 'edit_price' && $object->getRights()->creer)