19 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
44 $type =
'supplier_payment';
47 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
84 $langs->load(
"bills");
85 return $langs->trans(
"NoDescription");
96 $langs->load(
"bills");
97 return $langs->trans(
"NoExample");
121 return $langs->trans(
"NotAvailable");
132 $langs->load(
"admin");
134 if ($this->version ==
'development')
return $langs->trans(
"VersionDevelopment");
135 elseif ($this->version ==
'experimental')
return $langs->trans(
"VersionExperimental");
136 elseif ($this->version ==
'dolibarr')
return DOL_VERSION;
137 elseif ($this->version)
return $this->version;
138 return $langs->trans(
"NotAvailable");
getExample()
Return numbering example.
isEnabled()
Return if a module can be used or not.
getNextValue($objsoc, $object)
Returns the next value.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation models.
info()
Return the default description of numbering module.
getVersion()
Returns the module numbering version.
Parent class for supplier invoices models.
canBeActivated()
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
Payment numbering references mother class.
Parent class for documents generators.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.