dolibarr 19.0.3
|
Class to manage cheque receipts numbering rules Mint. More...
Public Member Functions | |
info ($langs) | |
Return description of numbering module. | |
getExample () | |
Return an example of numbering. | |
canBeActivated ($object) | |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
getNextValue ($objsoc, $object) | |
Return next free value. | |
chequereceipt_get_num ($objsoc, $objforref) | |
Return next free 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 cheque receipts numbering rules Mint.
Definition at line 30 of file mod_chequereceipt_mint.php.
mod_chequereceipt_mint::canBeActivated | ( | $object | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Object | $object | Object we need next value for |
Reimplemented from CommonNumRefGenerator.
Definition at line 79 of file mod_chequereceipt_mint.php.
mod_chequereceipt_mint::chequereceipt_get_num | ( | $objsoc, | |
$objforref ) |
Return next free value.
Societe | $objsoc | Object third party |
string | $objforref | Object for number to search |
Definition at line 163 of file mod_chequereceipt_mint.php.
References getNextValue().
mod_chequereceipt_mint::getExample | ( | ) |
Return an example of numbering.
Definition at line 66 of file mod_chequereceipt_mint.php.
mod_chequereceipt_mint::getNextValue | ( | $objsoc, | |
$object ) |
Return next free value.
Societe | $objsoc | Object thirdparty |
RemiseCheque | $object | Object we need next value for |
Definition at line 116 of file mod_chequereceipt_mint.php.
References dol_print_date(), and dol_syslog().
Referenced by chequereceipt_get_num().
mod_chequereceipt_mint::info | ( | $langs | ) |
Return description of numbering module.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 54 of file mod_chequereceipt_mint.php.