diff --git a/htdocs/core/modules/stock/doc/pdf_stdmouvement.modules.php b/htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php similarity index 99% rename from htdocs/core/modules/stock/doc/pdf_stdmouvement.modules.php rename to htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php index 0ea7947005a..a1ba9b141ec 100644 --- a/htdocs/core/modules/stock/doc/pdf_stdmouvement.modules.php +++ b/htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php @@ -17,9 +17,9 @@ */ /** - * \file htdocs/core/modules/stock/doc/pdf_standard.modules.php + * \file htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php * \ingroup societe - * \brief File of class to build PDF documents for stocks/services + * \brief File of class to build PDF documents for stocks movements */ require_once DOL_DOCUMENT_ROOT.'/core/modules/stock/modules_stock.class.php'; @@ -446,6 +446,7 @@ class pdf_stdmouvement extends ModelePDFMouvement $totalunit=0; $totalvalue=$totalvaluesell=0; + $arrayofuniqueproduct = array(); //dol_syslog('List products', LOG_DEBUG); $resql = $db->query($sql); diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 0b37a2269cd..f21c509f188 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -839,7 +839,7 @@ if ($resql) if (! empty($arrayfields['m.type_mouvement']['checked'])) { // Type of movement - print ''; + print ''; //print ''; print '