32 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
62 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
98 $langs->load(
"contracts");
99 return $langs->trans(
"NoDescription");
110 $langs->load(
"contracts");
111 return $langs->trans(
"NoExample");
134 return $langs->trans(
"NotAvailable");
145 $langs->load(
"admin");
147 if ($this->version ==
'development')
return $langs->trans(
"VersionDevelopment");
148 if ($this->version ==
'experimental')
return $langs->trans(
"VersionExperimental");
149 if ($this->version ==
'dolibarr')
return DOL_VERSION;
150 if ($this->version)
return $this->version;
151 return $langs->trans(
"NotAvailable");
getNextValue($objsoc, $contract)
Return next value.
Parent class to manage intervention document templates.
getVersion()
Return numbering version module.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
info()
Return default description of numbering model.
canBeActivated()
Test if existing numbers make problems with numbering.
getExample()
Return numbering example.
Parent class for documents generators.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.
isEnabled()
Return if a module can be used or not.
Parent class for all contract numbering modules.