31require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
32require_once DOL_DOCUMENT_ROOT.
'/core/class/commonnumrefgenerator.class.php';
33require_once DOL_DOCUMENT_ROOT.
'/compta/bank/class/account.class.php';
52 $type =
'supplier_proposal';
55 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
74 abstract public function write_file(
$object, $outputlangs, $srctemplatepath =
'', $hidedetails = 0, $hidedesc = 0, $hideref = 0);
91 abstract public function getNextValue($objsoc, $supplier_proposal);
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Parent class for documents (PDF, ODT, ...) generators.
Parent class for number ref generators.
Parent class of the Proposal numbering model classes.
getExample()
Return an example of numbering.
getNextValue($objsoc, $supplier_proposal)
Return next value.
Perent class of the Proposal models.
write_file($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
Function to build a document on disk using the generic odt module.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.