Add missing constants

This commit is contained in:
Laurent Destailleur 2021-04-27 19:45:56 +02:00
parent 3f7f166fb6
commit 035828ba51

View File

@ -44,7 +44,6 @@ require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
*/
class Adherent extends CommonObject
{
/**
* @var string ID to identify managed object
*/
@ -332,6 +331,23 @@ class Adherent extends CommonObject
'import_key' => array('type' => 'varchar(14)', 'label' => 'ImportId', 'enabled' => 1, 'visible' => -2, 'position' => 805)
);
/**
* Draft status
*/
const STATUS_DRAFT = 0;
/**
* Validated status
*/
const STATUS_VALIDATED = 1;
/**
* Resiliated
*/
const STATUS_RESILIATED = -1;
/**
* Excluded
*/
const STATUS_EXCLUDED = -2;
/**
* Constructor