dolibarr 21.0.0-beta
modules_chequereceipts.php File Reference

File with parent class of check receipt document generators. More...

Go to the source code of this file.

Classes

class  ModeleNumRefChequeReceipts
 Class parent for cheque Receipts numbering references mother class. More...
 
class  ModeleChequeReceipts
 Class parent for templates of document generation. More...
 

Functions

 chequereceipt_pdf_create ($db, $id, $message, $modele, $outputlangs)
 Cree un bordereau remise de cheque.
 

Detailed Description

File with parent class of check receipt document generators.

Definition in file modules_chequereceipts.php.

Function Documentation

◆ chequereceipt_pdf_create()

chequereceipt_pdf_create ( $db,
$id,
$message,
$modele,
$outputlangs )

Cree un bordereau remise de cheque.

Parameters
DoliDB$dbDatabase handler
int$idObject invoice (or id of invoice)
string$messageMessage
string$modeleForce le modele a utiliser ('' to not force)
Translate$outputlangsObject lang a utiliser pour traduction
Returns
int Return integer <0 if KO, >0 if OK TODO Use commonDocGenerator

Definition at line 142 of file modules_chequereceipts.php.

References $conf, $id, dol_print_error(), dol_strlen(), and getDolGlobalString().