30 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
31 require_once DOL_DOCUMENT_ROOT.
'/product/class/product.class.php';
32 require_once DOL_DOCUMENT_ROOT.
'/compta/bank/class/account.class.php';
45 public $atleastonediscount = 0;
46 public $atleastoneratenotnull = 0;
65 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
100 $langs->load(
"bills");
101 return $langs->trans(
"NoDescription");
112 $langs->load(
"bills");
113 return $langs->trans(
"NoExample");
137 return $langs->trans(
"NotAvailable");
148 $langs->load(
"admin");
150 if ($this->version ==
'development')
return $langs->trans(
"VersionDevelopment");
151 elseif ($this->version ==
'experimental')
return $langs->trans(
"VersionExperimental");
152 elseif ($this->version ==
'dolibarr')
return DOL_VERSION;
153 elseif ($this->version)
return $this->version;
154 else return $langs->trans(
"NotAvailable");
info()
Renvoi la description par defaut du modele de numerotation.
isEnabled()
Return if a module can be used or not.
canBeActivated()
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
getVersion()
Renvoi version du modele de numerotation.
Parent class of invoice document generators.
getNextValue($objsoc, $facture)
Renvoi prochaine valeur attribuee.
Parent class of invoice reference numbering templates.
getExample()
Return an example of numbering.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
Parent class for documents generators.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.