dolibarr 21.0.0-beta
|
Parent Class of the models to number the cash register receipts. More...
Public Member Functions | |
getNextValue ($objsoc=null, $invoice=null, $mode='next') | |
Return next free value. | |
getExample () | |
Return an example of numbering. | |
Public Member Functions inherited from CommonNumRefGenerator | |
getNom ($langs) | |
Return model name. | |
getName ($langs) | |
Return model name. | |
isEnabled () | |
Return if a module can be used or not. | |
info ($langs) | |
Returns the default description of the numbering template. | |
canBeActivated ($object) | |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
getVersion () | |
Returns version of numbering module. | |
Parent Class of the models to number the cash register receipts.
Definition at line 36 of file modules_takepos.php.
|
abstract |
Return an example of numbering.
Reimplemented in mod_takepos_ref_simple, and mod_takepos_ref_universal.
|
abstract |
Return next free value.
?Societe | $objsoc | Object third party |
?Facture | $invoice | Object invoice |
string | $mode | 'next' for next value or 'last' for last value |
Reimplemented in mod_takepos_ref_simple, and mod_takepos_ref_universal.