|
dolibarr 18.0.8
|
Class to manage contract numbering rules Magre. More...


Public Member Functions | |
| info () | |
| Return default description of numbering model. | |
| getExample () | |
| Return numbering example. | |
| getNextValue ($objsoc, $contract) | |
| Return next value. | |
| contract_get_num ($objsoc, $objforref) | |
| Return next value. | |
Public Member Functions inherited from ModelNumRefContracts | |
| isEnabled () | |
| Return if a module can be used or not. | |
| canBeActivated () | |
| Test if existing numbers make problems with numbering. | |
| getVersion () | |
| Return numbering version module. | |
Class to manage contract numbering rules Magre.
Definition at line 31 of file mod_contract_magre.php.
| mod_contract_magre::contract_get_num | ( | $objsoc, | |
| $objforref ) |
Return next value.
| Societe | $objsoc | third party object |
| Object | $objforref | contract object |
Definition at line 150 of file mod_contract_magre.php.
References getNextValue().
| mod_contract_magre::getExample | ( | ) |
Return numbering example.
Reimplemented from ModelNumRefContracts.
Definition at line 102 of file mod_contract_magre.php.
References getNextValue().
| mod_contract_magre::getNextValue | ( | $objsoc, | |
| $contract ) |
Return next value.
| Societe | $objsoc | third party object |
| Object | $contract | contract object |
Reimplemented from ModelNumRefContracts.
Definition at line 124 of file mod_contract_magre.php.
References get_next_value(), and getDolGlobalString().
Referenced by contract_get_num(), and getExample().
| mod_contract_magre::info | ( | ) |
Return default description of numbering model.
Reimplemented from ModelNumRefContracts.
Definition at line 66 of file mod_contract_magre.php.
References getDolGlobalString().