mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-19 07:51:29 +01:00
New: Add ability for numbering module to not be shown if a condition is not true.
This commit is contained in:
@@ -95,6 +95,14 @@ class ModeleNumRefCommandes
|
||||
{
|
||||
var $error='';
|
||||
|
||||
/** \brief Return if a module can be used or not
|
||||
* \return boolean true if module can be used
|
||||
*/
|
||||
function isEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/** \brief Renvoi la description par defaut du modele de num<75>rotation
|
||||
* \return string Texte descripif
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user