dolibarr 18.0.6
|
Classe mere des modeles de numerotation des tickets de caisse. More...
Public Member Functions | |
isEnabled () | |
Return if a module can be used or not. | |
info () | |
Returns the default description of the numbering pattern. | |
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=null, $invoice=null, $mode='next') | |
Renvoi prochaine valeur attribuee. | |
getVersion () | |
Renvoi version du modele de numerotation. | |
Classe mere des modeles de numerotation des tickets de caisse.
Definition at line 34 of file modules_takepos.php.
ModeleNumRefTakepos::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Reimplemented in mod_takepos_ref_simple.
Definition at line 84 of file modules_takepos.php.
ModeleNumRefTakepos::getExample | ( | ) |
Return an example of numbering.
Reimplemented in mod_takepos_ref_simple, and mod_takepos_ref_universal.
Definition at line 71 of file modules_takepos.php.
ModeleNumRefTakepos::getNextValue | ( | $objsoc = null, | |
$invoice = null, | |||
$mode = 'next' ) |
Renvoi prochaine valeur attribuee.
Societe | $objsoc | Object thirdparty |
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.
Definition at line 97 of file modules_takepos.php.
ModeleNumRefTakepos::getVersion | ( | ) |
Renvoi version du modele de numerotation.
Definition at line 108 of file modules_takepos.php.
ModeleNumRefTakepos::info | ( | ) |
Returns the default description of the numbering pattern.
Reimplemented in mod_takepos_ref_simple, and mod_takepos_ref_universal.
Definition at line 59 of file modules_takepos.php.
ModeleNumRefTakepos::isEnabled | ( | ) |
Return if a module can be used or not.
Definition at line 49 of file modules_takepos.php.