|
dolibarr 21.0.4
|
Parent class of invoice reference numbering templates. More...


Public Member Functions | |
| getNextValue ($objsoc, $invoice, $mode='next') | |
| Return next value not used or last value used. | |
| 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 invoice reference numbering templates.
Definition at line 270 of file modules_facture.php.
|
abstract |
Return an example of numbering.
Reimplemented in mod_facture_mars, mod_facture_mercure, and mod_facture_terre.
|
abstract |
Return next value not used or last value used.
| Societe | $objsoc | Object third party |
| ?Facture | $invoice | Object invoice |
| string | $mode | 'next' for next value or 'last' for last value |
Reimplemented in mod_facture_mars, mod_facture_mercure, and mod_facture_terre.