|
dolibarr 18.0.8
|
Class to manage cheque receipts numbering rules Mint. More...


Public Member Functions | |
| info () | |
| Return description of numbering module. | |
| getExample () | |
| Return an example of numbering. | |
| canBeActivated () | |
| 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 ModeleNumRefChequeReceipts | |
| isEnabled () | |
| Return if a module can be used or not. | |
| getVersion () | |
| Returns the module numbering version. | |
Class to manage cheque receipts numbering rules Mint.
Definition at line 30 of file mod_chequereceipt_mint.php.
| mod_chequereceipt_mint::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Reimplemented from ModeleNumRefChequeReceipts.
Definition at line 77 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 161 of file mod_chequereceipt_mint.php.
References getNextValue().
| mod_chequereceipt_mint::getExample | ( | ) |
Return an example of numbering.
Reimplemented from ModeleNumRefChequeReceipts.
Definition at line 65 of file mod_chequereceipt_mint.php.
| mod_chequereceipt_mint::getNextValue | ( | $objsoc, | |
| $object ) |
Return next free value.
| Societe | $objsoc | Object thirdparty |
| Object | $object | Object we need next value for |
Reimplemented from ModeleNumRefChequeReceipts.
Definition at line 114 of file mod_chequereceipt_mint.php.
References dol_syslog().
Referenced by chequereceipt_get_num().
| mod_chequereceipt_mint::info | ( | ) |
Return description of numbering module.
Reimplemented from ModeleNumRefChequeReceipts.
Definition at line 53 of file mod_chequereceipt_mint.php.