Skip to content
Snippets Groups Projects
Commit 5f415478 authored by florian HENRY's avatar florian HENRY
Browse files

FIX : update limit stock on product stock

parent 597f5dae
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ $cancel=GETPOST('cancel');
$id=GETPOST('id', 'int');
$ref=GETPOST('ref', 'alpha');
$stocklimit = GETPOST('stocklimit');
$stocklimit = GETPOST('seuil_stock_alerte');
$desiredstock = GETPOST('desiredstock');
$cancel = GETPOST('cancel');
$fieldid = isset($_GET["ref"])?'ref':'rowid';
......@@ -70,7 +70,7 @@ $result=restrictedArea($user,'produit&stock',$id,'product&product','','',$fieldi
if ($cancel) $action='';
// Set stock limit
if ($action == 'setstocklimit')
if ($action == 'setseuil_stock_alerte')
{
$object = new Product($db);
$result=$object->fetch($id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment