Skip to content

Commit

Permalink
NEW #3510 : Standardize module
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanjo Menent authored and eldy committed Mar 25, 2016
1 parent 05df340 commit aa9a39c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/compta/paiement/cheque/class/remisecheque.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ function generatePdf($model, $outputlangs)

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";
Expand Down
4 changes: 2 additions & 2 deletions htdocs/core/class/html.formfile.class.php
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -445,7 +445,7 @@ function showdocuments($modulepart,$modulesubdir,$filedir,$urlsource,$genallowed
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);
}
}
Expand Down

0 comments on commit aa9a39c

Please sign in to comment.