|
dolibarr 18.0.8
|
Class to manage reception numbering rules Moonstone. More...


Public Member Functions | |
| info () | |
| Return default description of numbering model. | |
| getExample () | |
| Return numbering example. | |
| getNextValue ($objsoc, $reception) | |
| Return next value. | |
| reception_get_num ($objsoc, $objforref) | |
| Return next free value. | |
Public Member Functions inherited from ModelNumRefReception | |
| isEnabled () | |
| Return if a model can be used or not. | |
| canBeActivated () | |
| Test if existing numbers make problems with numbering. | |
| getVersion () | |
| Returns version of the numbering model. | |
Class to manage reception numbering rules Moonstone.
Definition at line 31 of file mod_reception_moonstone.php.
| mod_reception_moonstone::getExample | ( | ) |
Return numbering example.
Reimplemented from ModelNumRefReception.
Definition at line 78 of file mod_reception_moonstone.php.
References getNextValue().
| mod_reception_moonstone::getNextValue | ( | $objsoc, | |
| $reception ) |
Return next value.
Reimplemented from ModelNumRefReception.
Definition at line 103 of file mod_reception_moonstone.php.
References dol_now(), get_next_value(), and getDolGlobalString().
Referenced by getExample(), and reception_get_num().
| mod_reception_moonstone::info | ( | ) |
Return default description of numbering model.
Reimplemented from ModelNumRefReception.
Definition at line 42 of file mod_reception_moonstone.php.
References getDolGlobalString().
| mod_reception_moonstone::reception_get_num | ( | $objsoc, | |
| $objforref ) |
Return next free value.
Definition at line 135 of file mod_reception_moonstone.php.
References getNextValue().