diff --git a/htdocs/compta/paiement/cheque/class/remisecheque.class.php b/htdocs/compta/paiement/cheque/class/remisecheque.class.php index e70993bcaedbe80e773edadce9a8a2882f124465..bad8b58cd5f887167cfb34cd2a13129d6b010d17 100644 --- a/htdocs/compta/paiement/cheque/class/remisecheque.class.php +++ b/htdocs/compta/paiement/cheque/class/remisecheque.class.php @@ -502,7 +502,7 @@ class RemiseCheque extends CommonObject dol_syslog("RemiseCheque::generatePdf model=".$model." id=".$this->id, LOG_DEBUG); - $dir=DOL_DOCUMENT_ROOT ."/core/modules/cheque/pdf/"; + $dir=DOL_DOCUMENT_ROOT ."/core/modules/cheque/doc/"; // Charge le modele $file = "pdf_".$model.".class.php"; diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index a70c6f3f40c77eaadea1f399add02f1ce77e3214..8e883ff1b4c55a93cc430c43fafcaccf2d8e8702 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1,7 +1,7 @@ <?php /* Copyright (C) 2008-2013 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2010-2014 Regis Houssin <regis.houssin@capnetworks.com> - * Copyright (C) 2010 Juanjo Menent <jmenent@2byte.es> + * Copyright (C) 2010-2016 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2013 Charles-Fr BENKE <charles.fr@benke.fr> * Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr> * Copyright (C) 2014 Marcos García <marcosgdf@gmail.com> @@ -445,7 +445,7 @@ class FormFile if (is_array($genallowed)) $modellist=$genallowed; else { - include_once DOL_DOCUMENT_ROOT.'/core/modules/cheque/pdf/modules_chequereceipts.php'; + include_once DOL_DOCUMENT_ROOT.'/core/modules/cheque/modules_chequereceipts.php'; $modellist=ModeleChequeReceipts::liste_modeles($this->db); } } diff --git a/htdocs/core/modules/cheque/pdf/index.html b/htdocs/core/modules/cheque/doc/index.html similarity index 100% rename from htdocs/core/modules/cheque/pdf/index.html rename to htdocs/core/modules/cheque/doc/index.html diff --git a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php b/htdocs/core/modules/cheque/doc/pdf_blochet.class.php similarity index 98% rename from htdocs/core/modules/cheque/pdf/pdf_blochet.class.php rename to htdocs/core/modules/cheque/doc/pdf_blochet.class.php index 85e69a23cf1229b6c6e9ba819bbdc8b4446d82d3..0abf3c897672f5e48667f06a2ad52c4bc0b85445 100644 --- a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php +++ b/htdocs/core/modules/cheque/doc/pdf_blochet.class.php @@ -1,6 +1,7 @@ <?php /* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2009-2015 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,14 +19,14 @@ */ /** - * \file htdocs/core/modules/cheque/pdf/pdf_blochet.class.php + * \file htdocs/core/modules/cheque/doc/pdf_blochet.class.php * \ingroup banque * \brief File to build cheque deposit receipts */ require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/modules/cheque/pdf/modules_chequereceipts.php'; +require_once DOL_DOCUMENT_ROOT.'/core/modules/cheque/modules_chequereceipts.php'; /** diff --git a/htdocs/core/modules/cheque/pdf/modules_chequereceipts.php b/htdocs/core/modules/cheque/modules_chequereceipts.php similarity index 95% rename from htdocs/core/modules/cheque/pdf/modules_chequereceipts.php rename to htdocs/core/modules/cheque/modules_chequereceipts.php index e4d68c525fa10db02a347e30563d67271c1e06fb..041a7daf7e6337bcb9e91d07f51ef6b2e1cf7291 100644 --- a/htdocs/core/modules/cheque/pdf/modules_chequereceipts.php +++ b/htdocs/core/modules/cheque/modules_chequereceipts.php @@ -3,6 +3,7 @@ * Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> * Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com> + * Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,7 +21,7 @@ */ /** - * \file htdocs/core/modules/cheque/pdf/modules_chequereceipts.php + * \file htdocs/core/modules/cheque/modules_chequereceipts.php * \ingroup facture * \brief File with parent class of check receipt document generators */ @@ -78,7 +79,7 @@ function chequereceipt_pdf_create($db, $id, $message, $modele, $outputlangs) global $conf,$langs; $langs->load("bills"); - $dir = DOL_DOCUMENT_ROOT . "/core/modules/cheque/pdf/"; + $dir = DOL_DOCUMENT_ROOT . "/core/modules/cheque/doc/"; // Positionne modele sur le nom du modele a utiliser if (! dol_strlen($modele))