From b9fbf13eba3f9eb48869b5007cc646849617badf Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 May 2018 09:36:49 +0200 Subject: [PATCH] Fix look and feel v8 --- ..._stdmouvement.modules.php => pdf_stdmovement.modules.php} | 5 +++-- htdocs/product/stock/mouvement.php | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) rename htdocs/core/modules/stock/doc/{pdf_stdmouvement.modules.php => pdf_stdmovement.modules.php} (99%) 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 '