|
dolibarr 18.0.8
|
Parent class for all contract numbering modules. More...

Public Member Functions | |
| isEnabled () | |
| Return if a module can be used or not. | |
| info () | |
| Return default description of numbering model. | |
| getExample () | |
| Return numbering example. | |
| canBeActivated () | |
| Test if existing numbers make problems with numbering. | |
| getNextValue ($objsoc, $contract) | |
| Return next value. | |
| getVersion () | |
| Return numbering version module. | |
Parent class for all contract numbering modules.
Definition at line 72 of file modules_contract.php.
| ModelNumRefContracts::canBeActivated | ( | ) |
Test if existing numbers make problems with numbering.
Reimplemented in mod_contract_serpis.
Definition at line 118 of file modules_contract.php.
| ModelNumRefContracts::getExample | ( | ) |
Return numbering example.
Reimplemented in mod_contract_magre, and mod_contract_serpis.
Definition at line 106 of file modules_contract.php.
| ModelNumRefContracts::getNextValue | ( | $objsoc, | |
| $contract ) |
Return next value.
| Societe | $objsoc | third party object |
| Object | $contract | contract object |
Reimplemented in mod_contract_magre, mod_contract_olive, and mod_contract_serpis.
Definition at line 130 of file modules_contract.php.
| ModelNumRefContracts::getVersion | ( | ) |
Return numbering version module.
Definition at line 141 of file modules_contract.php.
| ModelNumRefContracts::info | ( | ) |
Return default description of numbering model.
Reimplemented in mod_contract_magre, mod_contract_olive, and mod_contract_serpis.
Definition at line 94 of file modules_contract.php.
| ModelNumRefContracts::isEnabled | ( | ) |
Return if a module can be used or not.
Definition at line 84 of file modules_contract.php.