diff --git a/htdocs/compta/paiement/cheque/class/remisecheque.class.php b/htdocs/compta/paiement/cheque/class/remisecheque.class.php index e70993bcaed..bad8b58cd5f 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 a70c6f3f40c..8e883ff1b4c 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1,7 +1,7 @@ * Copyright (C) 2010-2014 Regis Houssin - * Copyright (C) 2010 Juanjo Menent + * Copyright (C) 2010-2016 Juanjo Menent * Copyright (C) 2013 Charles-Fr BENKE * Copyright (C) 2013 Cédric Salvador * Copyright (C) 2014 Marcos García @@ -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 85e69a23cf1..0abf3c89767 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 @@ * Copyright (C) 2009-2015 Laurent Destailleur + * Copyright (C) 2016 Juanjo Menent * * 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 e4d68c525fa..041a7daf7e6 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 * Copyright (C) 2004 Eric Seigne * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2016 Juanjo Menent * * 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))