|
dolibarr
13.0.2
|
Class to manage contract numbering rules Magre. More...
Inheritance diagram for mod_contract_magre:
Collaboration diagram for mod_contract_magre:Public Member Functions | |
| info () | |
| Return default description of numbering model. More... | |
| getExample () | |
| Return numbering example. More... | |
| getNextValue ($objsoc, $contract) | |
| Return next value. More... | |
| contract_get_num ($objsoc, $objforref) | |
| Return next value. More... | |
Public Member Functions inherited from ModelNumRefContracts | |
| isEnabled () | |
| Return if a module can be used or not. More... | |
| info () | |
| Return default description of numbering model. More... | |
| getExample () | |
| Return numbering example. More... | |
| canBeActivated () | |
| Test if existing numbers make problems with numbering. More... | |
| getNextValue ($objsoc, $contract) | |
| Return next value. More... | |
| getVersion () | |
| Return numbering version module. More... | |
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 152 of file mod_contract_magre.php.
References getNextValue().
| mod_contract_magre::getExample | ( | ) |
Return numbering example.
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 |
Definition at line 125 of file mod_contract_magre.php.
References get_next_value().
Referenced by contract_get_num(), and getExample().
| mod_contract_magre::info | ( | ) |
Return default description of numbering model.
Definition at line 66 of file mod_contract_magre.php.