18require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
19require_once DOL_DOCUMENT_ROOT.
'/core/class/commonnumrefgenerator.class.php';
38 $type =
'expensereport';
41 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
61function expensereport_pdf_create(
DoliDB $db,
ExpenseReport $object, $message, $modele, $outputlangs, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
63 return $object->generateDocument($modele, $outputlangs, $hidedetails, $hidedesc, $hideref);
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Parent class for documents (PDF, ODT, ...) generators.
Parent class for number ref generators.
Class to manage Dolibarr database access.
Class to manage Trips and Expenses.
Parent class for trips and expenses templates.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active models generation.
Parent class for numbering masks of expense reports.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.