diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 7896476775a..3d7acc0661b 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -210,7 +210,7 @@ if ($id > 0 || $ref) $product = new Product($db); $result = $product->fetch($id,$ref); $product->load_stock(); - + $help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks'; llxHeader("",$langs->trans("CardProduct".$product->type),$help_url); @@ -263,7 +263,7 @@ if ($id > 0 || $ref) print ''.$form->editfieldkey("StockLimit",'stocklimit',$product->seuil_stock_alerte,$product,$user->rights->produit->creer).''; print $form->editfieldval("StockLimit",'stocklimit',$product->seuil_stock_alerte,$product,$user->rights->produit->creer); print ''; - + // Desired stock print ''.$form->editfieldkey("DesiredStock",'desiredstock',$product->desiredstock,$product,$user->rights->produit->creer).''; print $form->editfieldval("DesiredStock",'desiredstock',$product->desiredstock,$product,$user->rights->produit->creer); @@ -277,7 +277,9 @@ if ($id > 0 || $ref) print ''; print ''; - // Calculating a theorical value of stock if stock increment is done on real sending + // Calculating a theorical value + + // If stock if stock increment is done on real sending if (! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT)) { $stock_commande_client=$stock_commande_fournisseur=0; @@ -339,6 +341,12 @@ if ($id > 0 || $ref) print ''; } + // If stock if stock increment is done on + // TODO Add information when stock increment is done on other option + + // TODO Add also information on possible decrease stock accroding to stock decrease option + + // Last movement $sql = "SELECT max(m.datem) as datem"; $sql.= " FROM ".MAIN_DB_PREFIX."stock_mouvement as m";