30require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
31require_once DOL_DOCUMENT_ROOT.
'/core/class/commonnumrefgenerator.class.php';
32require_once DOL_DOCUMENT_ROOT.
'/product/class/product.class.php';
33require_once DOL_DOCUMENT_ROOT.
'/compta/bank/class/account.class.php';
104 $type =
'chequereceipt';
107 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
110 $list = array(
'blochet' =>
'blochet');
128 abstract public function write_file(
$object, $outputlangs, $srctemplatepath =
'', $hidedetails = 0, $hidedesc = 0, $hideref = 0);
146 $langs->load(
"bills");
148 require_once DOL_DOCUMENT_ROOT.
'/compta/paiement/cheque/class/remisecheque.class.php';
152 if ($result < 0 || empty(
$object->id)) {
153 dol_print_error($db,
"chequereceipt_pdf_create Error: failed to load cheque receipt id=".
$id.($object->error ?
" - ".$object->error :
""));
162 return $object->generateDocument($modele, $outputlangs);
$id
Support class for third parties, contacts, members, users or resources.
if(! $sortfield) if(! $sortorder) $object
Parent class for documents (PDF, ODT, ...) generators.
Parent class for number ref generators.
Class parent for templates of document generation.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
write_file($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
Fonction to generate document on disk.
Class parent for cheque Receipts numbering references mother class.
getExample()
Return an example of numbering.
getNextValue($objsoc, $object)
Return next free value.
Class to manage cheque delivery receipts.
getListOfModels($db, $type, $maxfilenamelength=0, $showempty=0)
Return list of activated modules usable for document generation.
dol_strlen($string, $stringencoding='UTF-8', $binarycount=0)
Make a strlen call.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
chequereceipt_pdf_create($db, $id, $message, $modele, $outputlangs)
Cree un bordereau remise de cheque.