dolibarr  7.0.0-beta
Classes | Functions
modules_societe.class.php File Reference

File with parent class of submodules to manage numbering and document generation. More...

Go to the source code of this file.

Classes

class  ModeleThirdPartyDoc
 Parent class for third parties models of doc generators. More...
 
class  ModeleThirdPartyCode
 Parent class for third parties code generators. More...
 
class  ModeleAccountancyCode
 Parent class for third parties accountancy code generators. More...
 

Functions

 thirdparty_doc_create (DoliDB $db, Societe $object, $message, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
 Create a document onto disk according to template module. More...
 

Detailed Description

File with parent class of submodules to manage numbering and document generation.

Definition in file modules_societe.class.php.

Function Documentation

thirdparty_doc_create ( DoliDB  $db,
Societe  $object,
  $message,
  $modele,
  $outputlangs,
  $hidedetails = 0,
  $hidedesc = 0,
  $hideref = 0 
)

Create a document onto disk according to template module.

Parameters
DoliDB$dbDatabase handler
Facture$objectObject invoice
string$messageMessage (not used, deprecated)
string$modeleForce template to use ('' to not force)
Translate$outputlangsobjet lang a utiliser pour traduction
int$hidedetailsHide details of lines
int$hidedescHide description
int$hiderefHide ref
Returns
int <0 if KO, >0 if OK
Deprecated:
Use the new function generateDocument of Facture class
See also
Societe::generateDocument()

Definition at line 381 of file modules_societe.class.php.

References dol_syslog(), and Societe\generateDocument().

Referenced by ActionsCardCommon\doActions().