Commit d0e575cf authored by mbriand's avatar mbriand
Browse files

groupes : cotisants-tous

parent 1c431d59
......@@ -188,6 +188,7 @@ class group extends stdentity
$values[10009] = "responsables-clubs";
$values[10010] = "assidu-membres";
$values[10011] = "amicale-membres";
$values[10012] = "cotisants-tous";
$req = new requete($this->db,
"SELECT `id_asso`, `nom_unix_asso` " .
......@@ -295,6 +296,15 @@ class group extends stdentity
if ( $this->id == 10009 )
return "responsables des clubs";
if ( $this->id == 10010 )
return "cotisants par ASSIDU";
if ( $this->id == 10011 )
return "cotisants par l'amicale de l'UTBM";
if ( $this->id == 10012 )
return "cotisants à l'AE y compris par ASSIDU et l'amicale";
return trim($this->description);
}
......
......@@ -629,6 +629,9 @@ class utilisateur extends stdentity
if ( $this->assidu )
$this->groupes[10011] = "amicale-membres";
if ( $this->ae || $this->amicale || $this->assidu )
$this->groupes[10012] = "cotisants-tous";
$req = new requete($this->db,
"SELECT `asso`.`id_asso`, ".
"`asso`.`nom_unix_asso`, ".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment