Possibilite d'avoir un prix d'achat = 0
This commit is contained in:
parent
b5ebdb2040
commit
71645f76fc
@ -111,7 +111,7 @@ if ($_POST["action"] == 'updateprice' && $_POST["cancel"] <> $langs->trans("Canc
|
|||||||
|
|
||||||
if ($_POST["qty"])
|
if ($_POST["qty"])
|
||||||
{
|
{
|
||||||
if ($_POST["price"] > 0)
|
if ($_POST["price"] >= 0)
|
||||||
{
|
{
|
||||||
$ret=$product->update_buyprice($_POST["id_fourn"], $_POST["qty"], $_POST["price"], $user);
|
$ret=$product->update_buyprice($_POST["id_fourn"], $_POST["qty"], $_POST["price"], $user);
|
||||||
if ($ret < 0)
|
if ($ret < 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user