dolibarr 19.0.4
|
Class to manage contract numbering rules Serpis. More...
Public Member Functions | |
info ($langs) | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
canBeActivated ($object) | |
Test if existing numbers make problems with numbering. | |
getNextValue ($objsoc, $contract) | |
Return next value. | |
contract_get_num ($objsoc, $objforref) | |
Return next value. | |
Public Member Functions inherited from CommonNumRefGenerator | |
getNom ($langs) | |
Return model name TODO Replace with getName() | |
getName ($langs) | |
Return model name. | |
isEnabled () | |
Return if a module can be used or not. | |
getVersion () | |
Returns version of numbering module. | |
Class to manage contract numbering rules Serpis.
Definition at line 29 of file mod_contract_serpis.php.
mod_contract_serpis::canBeActivated | ( | $object | ) |
Test if existing numbers make problems with numbering.
Object | $object | Object we need next value for |
Reimplemented from CommonNumRefGenerator.
Definition at line 92 of file mod_contract_serpis.php.
mod_contract_serpis::contract_get_num | ( | $objsoc, | |
$objforref ) |
Return next value.
Societe | $objsoc | third party object |
Object | $objforref | contract object |
Definition at line 174 of file mod_contract_serpis.php.
References getNextValue().
mod_contract_serpis::getExample | ( | ) |
Return numbering example.
Definition at line 80 of file mod_contract_serpis.php.
mod_contract_serpis::getNextValue | ( | $objsoc, | |
$contract ) |
Return next value.
Societe | $objsoc | third party object |
Object | $contract | contract object |
Definition at line 129 of file mod_contract_serpis.php.
References dol_print_date(), and dol_syslog().
Referenced by contract_get_num().
mod_contract_serpis::info | ( | $langs | ) |
Return default description of numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 68 of file mod_contract_serpis.php.