Fix wrong set of constant

This commit is contained in:
daraelmin 2021-04-27 20:45:04 +02:00 committed by GitHub
parent 035828ba51
commit d3c7ab402d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ class Adherent extends CommonObject
public $public; public $public;
// -2:exclu, -1:brouillon, 0:resilie, >=1:valide,paye // -2:excluded, -1:draft, 0:resiliated, >=1:valided,payed
// def in common object // def in common object
//public $status; //public $status;
@ -334,7 +334,7 @@ class Adherent extends CommonObject
/** /**
* Draft status * Draft status
*/ */
const STATUS_DRAFT = 0; const STATUS_DRAFT = -1;
/** /**
* Validated status * Validated status
*/ */
@ -342,7 +342,7 @@ class Adherent extends CommonObject
/** /**
* Resiliated * Resiliated
*/ */
const STATUS_RESILIATED = -1; const STATUS_RESILIATED = 0;
/** /**
* Excluded * Excluded
*/ */